mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQuerySetEqual().
Co-Authored-By: Michael Howitz <mh@gocept.com>
This commit is contained in:
parent
d795259ea9
commit
f0c06f8ab7
76 changed files with 689 additions and 660 deletions
|
@ -429,10 +429,10 @@ class ModelInheritanceTest(TestCase):
|
|||
|
||||
def test_inherited_nullable_exclude(self):
|
||||
obj = SelfRefChild.objects.create(child_data=37, parent_data=42)
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
SelfRefParent.objects.exclude(self_data=72), [obj.pk], attrgetter("pk")
|
||||
)
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
SelfRefChild.objects.exclude(self_data=72), [obj.pk], attrgetter("pk")
|
||||
)
|
||||
|
||||
|
@ -524,7 +524,7 @@ class ModelInheritanceTest(TestCase):
|
|||
Supplier.objects.create(name="John", restaurant=r1)
|
||||
Supplier.objects.create(name="Jane", restaurant=r2)
|
||||
|
||||
self.assertQuerysetEqual(
|
||||
self.assertQuerySetEqual(
|
||||
Supplier.objects.order_by("name").select_related(),
|
||||
[
|
||||
"Jane",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue