mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate.
Follow up to 3f7b327562.
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user