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/admin_filters | |
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/admin_filters')
-rw-r--r-- | tests/admin_filters/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_filters/tests.py b/tests/admin_filters/tests.py index 45801503f1..1fcb506b51 100644 --- a/tests/admin_filters/tests.py +++ b/tests/admin_filters/tests.py @@ -874,7 +874,7 @@ class ListFiltersTests(TestCase): request.user = self.alfred changelist = modeladmin.get_changelist_instance(request) filterspec = changelist.get_filters(request)[0][0] - self.assertEqual( + self.assertCountEqual( filterspec.lookup_choices, [ (self.djangonaut_book.pk, "Djangonaut: an art of living"), |