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.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/foreign_object/test_agnostic_order_trimjoin.py b/tests/foreign_object/test_agnostic_order_trimjoin.py
index d3b7184be6..c5b8f66e7b 100644
--- a/tests/foreign_object/test_agnostic_order_trimjoin.py
+++ b/tests/foreign_object/test_agnostic_order_trimjoin.py
@@ -6,7 +6,6 @@ from .models import Address, Contact, Customer
class TestLookupQuery(TestCase):
-
@classmethod
def setUpTestData(cls):
cls.address = Address.objects.create(company=1, customer_id=20)
@@ -17,12 +16,12 @@ class TestLookupQuery(TestCase):
self.assertQuerysetEqual(
Address.objects.filter(customer__contacts=self.contact1),
[self.address.id],
- attrgetter('id')
+ attrgetter("id"),
)
def test_deep_mixed_backward(self):
self.assertQuerysetEqual(
Contact.objects.filter(customer__address=self.address),
[self.contact1.id],
- attrgetter('id')
+ attrgetter("id"),
)