summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2020-02-06 16:20:02 +0300
committerGitHub <noreply@github.com>2020-02-06 14:20:02 +0100
commit2d55cb5c4a9c736d04290c9f99ebcbe9e196ac97 (patch)
tree73cb525acdf9a53a394ca5b0e4c7a5dceda6327d
parent2905b41670fda38f970ce4dd1955f486bed928ab (diff)
Fixed typo in tests/model_inheritance/tests.py.
-rw-r--r--tests/model_inheritance/tests.py2
1 files changed, 1 insertions, 1 deletions
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])