From 2d55cb5c4a9c736d04290c9f99ebcbe9e196ac97 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Thu, 6 Feb 2020 16:20:02 +0300 Subject: [PATCH] Fixed typo in tests/model_inheritance/tests.py. --- tests/model_inheritance/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/model_inheritance/tests.py b/tests/model_inheritance/tests.py index 5eef0f5bfa..4252f3a301 100644 --- a/tests/model_inheritance/tests.py +++ b/tests/model_inheritance/tests.py @@ -302,7 +302,7 @@ class ModelInheritanceDataTests(TestCase): def test_related_objects_for_inherited_models(self): # Related objects work just as they normally do. s1 = Supplier.objects.create(name="Joe's Chickens", address="123 Sesame St") - s1.customers .set([self.restaurant, self.italian_restaurant]) + s1.customers.set([self.restaurant, self.italian_restaurant]) s2 = Supplier.objects.create(name="Luigi's Pasta", address="456 Sesame St") s2.customers.set([self.italian_restaurant])