summaryrefslogtreecommitdiff
path: root/tests/foreign_object/test_agnostic_order_trimjoin.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/foreign_object/test_agnostic_order_trimjoin.py')
-rw-r--r--tests/foreign_object/test_agnostic_order_trimjoin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/foreign_object/test_agnostic_order_trimjoin.py b/tests/foreign_object/test_agnostic_order_trimjoin.py
index c5b8f66e7b..745da1d97f 100644
--- a/tests/foreign_object/test_agnostic_order_trimjoin.py
+++ b/tests/foreign_object/test_agnostic_order_trimjoin.py
@@ -13,14 +13,14 @@ class TestLookupQuery(TestCase):
cls.contact1 = Contact.objects.create(company_code=1, customer_code=20)
def test_deep_mixed_forward(self):
- self.assertQuerysetEqual(
+ self.assertQuerySetEqual(
Address.objects.filter(customer__contacts=self.contact1),
[self.address.id],
attrgetter("id"),
)
def test_deep_mixed_backward(self):
- self.assertQuerysetEqual(
+ self.assertQuerySetEqual(
Contact.objects.filter(customer__address=self.address),
[self.contact1.id],
attrgetter("id"),