summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/model_inheritance_regress/tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/model_inheritance_regress/tests.py b/tests/model_inheritance_regress/tests.py
index 6d916bf6e4..e04fb18e94 100644
--- a/tests/model_inheritance_regress/tests.py
+++ b/tests/model_inheritance_regress/tests.py
@@ -461,7 +461,10 @@ class ModelInheritanceTest(TestCase):
name='John Doe', title='X', state='Y'
)
- Senator.objects.get(pk=senator.pk)
+ senator = Senator.objects.get(pk=senator.pk)
+ self.assertEqual(senator.name, 'John Doe')
+ self.assertEqual(senator.title, 'X')
+ self.assertEqual(senator.state, 'Y')
def test_inheritance_resolve_columns(self):
Restaurant.objects.create(name='Bobs Cafe', address="Somewhere",