Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ValuesQuerySet in assertQuerySetEqual #197

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

ziima
Copy link

@ziima ziima commented Sep 25, 2023

Support cases such as

result: Iterable[Tuple[Any, ...]] =  [(...), (...)]
self.assertQuerySet(MyModel.objects.values_list(...), result, transform=tuple)

@ziima ziima force-pushed the fix-queryset-values-list branch from f09b528 to fdf6c61 Compare September 25, 2023 13:52
@kodiakhq kodiakhq bot merged commit 654ca82 into sbdchd:main Sep 26, 2023
@sbdchd
Copy link
Owner

sbdchd commented Sep 26, 2023

Thanks!

@ziima ziima deleted the fix-queryset-values-list branch December 16, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants