diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-10-07 13:05:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 13:05:35 +0200 |
commit | d795259ea96004df0a2469246229a146307bcd2c (patch) | |
tree | 96d797dacdb7b4c68cd32afc1f2ed6f15e0a2bcd /tests/admin_utils | |
parent | 564b317fb53e9925b86ca5ef5d3bbcf99387602c (diff) | |
download | django-d795259ea96004df0a2469246229a146307bcd2c.tar.gz |
Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate.
Follow up to 3f7b3275627385f8f7531fca01cdda50d4ec6b6e.
Diffstat (limited to 'tests/admin_utils')
-rw-r--r-- | tests/admin_utils/test_logentry.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_utils/test_logentry.py b/tests/admin_utils/test_logentry.py index c9f080c334..dfa7962b1e 100644 --- a/tests/admin_utils/test_logentry.py +++ b/tests/admin_utils/test_logentry.py @@ -148,7 +148,7 @@ class LogEntryTests(TestCase): ) response = self.client.post(change_url, post_data) self.assertRedirects(response, reverse("admin:admin_utils_site_changelist")) - self.assertQuerysetEqual(Article.objects.filter(pk=a2.pk), []) + self.assertSequenceEqual(Article.objects.filter(pk=a2.pk), []) logentry = LogEntry.objects.filter(content_type__model__iexact="site").latest( "action_time" ) |