mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate.
Follow up to 3f7b327562.
This commit is contained in:
@@ -759,10 +759,10 @@ class AggregationTests(TestCase):
|
||||
qs = Clues.objects.values("EntryID__Entry").annotate(
|
||||
Appearances=Count("EntryID"), Distinct_Clues=Count("Clue", distinct=True)
|
||||
)
|
||||
self.assertQuerysetEqual(qs, [])
|
||||
self.assertSequenceEqual(qs, [])
|
||||
|
||||
qs = Entries.objects.annotate(clue_count=Count("clues__ID"))
|
||||
self.assertQuerysetEqual(qs, [])
|
||||
self.assertSequenceEqual(qs, [])
|
||||
|
||||
def test_boolean_conversion(self):
|
||||
# Aggregates mixed up ordering of columns for backend's convert_values
|
||||
|
||||
Reference in New Issue
Block a user