summaryrefslogtreecommitdiff
path: root/tests/model_inheritance/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_inheritance/tests.py')
-rw-r--r--tests/model_inheritance/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_inheritance/tests.py b/tests/model_inheritance/tests.py
index ad85a653d5..7ab75b6cc3 100644
--- a/tests/model_inheritance/tests.py
+++ b/tests/model_inheritance/tests.py
@@ -461,8 +461,8 @@ class InheritanceSameModelNameTests(SimpleTestCase):
ForeignReferent = Referent
self.assertFalse(hasattr(Referenced, related_name))
- self.assertTrue(Referenced.model_inheritance_referent_references.rel.model, LocalReferent)
- self.assertTrue(Referenced.tests_referent_references.rel.model, ForeignReferent)
+ self.assertIs(Referenced.model_inheritance_referent_references.field.model, LocalReferent)
+ self.assertIs(Referenced.tests_referent_references.field.model, ForeignReferent)
class InheritanceUniqueTests(TestCase):