diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-04-14 12:12:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-14 12:12:13 +0200 |
commit | 1760ad4e8cdbf34a0f38deae300460a0b9c38eac (patch) | |
tree | 1815c8c1f40069c434fb38e2487036afd64bece5 /tests/filtered_relation | |
parent | 08f30d1b6ac9b7bc05857f88a70277d5ceb27ba1 (diff) | |
download | django-1760ad4e8cdbf34a0f38deae300460a0b9c38eac.tar.gz |
Relaxed some query ordering assertions in various tests.
It accounts for differences seen on MySQL with MyISAM storage engine.
Diffstat (limited to 'tests/filtered_relation')
-rw-r--r-- | tests/filtered_relation/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/filtered_relation/tests.py b/tests/filtered_relation/tests.py index fe7f84bcdb..7d77e31b51 100644 --- a/tests/filtered_relation/tests.py +++ b/tests/filtered_relation/tests.py @@ -155,7 +155,7 @@ class FilteredRelationTests(TestCase): ) def test_without_join(self): - self.assertSequenceEqual( + self.assertCountEqual( Author.objects.annotate( book_alice=FilteredRelation( "book", condition=Q(book__title__iexact="poem by alice") |