diff options
Diffstat (limited to 'tests/model_inheritance_select_related/tests.py')
| -rw-r--r-- | tests/model_inheritance_select_related/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_inheritance_select_related/tests.py b/tests/model_inheritance_select_related/tests.py index 68f9897e25..195ccc80ec 100644 --- a/tests/model_inheritance_select_related/tests.py +++ b/tests/model_inheritance_select_related/tests.py @@ -16,8 +16,8 @@ class ModelInheritanceSelectRelatedTests(TestCase): r2 = Restaurant.objects.create( name="Craft", serves_sushi=False, serves_steak=True ) - p1 = Person.objects.create(name="John", favorite_restaurant=r1) - p2 = Person.objects.create(name="Jane", favorite_restaurant=r2) + Person.objects.create(name="John", favorite_restaurant=r1) + Person.objects.create(name="Jane", favorite_restaurant=r2) self.assertQuerysetEqual( Person.objects.order_by("name").select_related(), [ |
