Fixed typo in tests/model_inheritance/tests.py.
This commit is contained in:
parent
2905b41670
commit
2d55cb5c4a
|
@ -302,7 +302,7 @@ class ModelInheritanceDataTests(TestCase):
|
||||||
def test_related_objects_for_inherited_models(self):
|
def test_related_objects_for_inherited_models(self):
|
||||||
# Related objects work just as they normally do.
|
# Related objects work just as they normally do.
|
||||||
s1 = Supplier.objects.create(name="Joe's Chickens", address="123 Sesame St")
|
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 = Supplier.objects.create(name="Luigi's Pasta", address="456 Sesame St")
|
||||||
s2.customers.set([self.italian_restaurant])
|
s2.customers.set([self.italian_restaurant])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue