mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
Co-Authored-By: Michael Howitz <mh@gocept.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
d795259ea9
commit
f0c06f8ab7
@@ -21,7 +21,7 @@ class NullFkTests(TestCase):
|
||||
self.assertEqual(c.post, p)
|
||||
self.assertIsNone(Comment.objects.select_related().get(id=c2.id).post)
|
||||
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
Comment.objects.select_related("post__forum__system_info").all(),
|
||||
[
|
||||
(c1.id, "My first comment", "<Post: First Post>"),
|
||||
@@ -35,7 +35,7 @@ class NullFkTests(TestCase):
|
||||
Comment.objects.select_related("post").filter(post__isnull=True)[0].post
|
||||
)
|
||||
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
Comment.objects.select_related("post__forum__system_info__system_details"),
|
||||
[
|
||||
(c1.id, "My first comment", "<Post: First Post>"),
|
||||
|
||||
Reference in New Issue
Block a user