MCPcopy
hub / github.com/django/django / test_base

Method test_base

tests/migrations/test_state.py:2050–2054  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2048 self.assertRelated(C, [A, B])
2049
2050 def test_base(self):
2051 A = self.create_model("A")
2052 B = self.create_model("B", bases=(A,))
2053 self.assertRelated(A, [B])
2054 self.assertRelated(B, [A])
2055
2056 def test_nested_base(self):
2057 A = self.create_model("A")

Callers

nothing calls this directly

Calls 2

create_modelMethod · 0.95
assertRelatedMethod · 0.95

Tested by

no test coverage detected