MCPcopy
hub / github.com/django/django / test_unrelated

Method test_unrelated

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

Source from the content-addressed store, hash-verified

1978 )
1979
1980 def test_unrelated(self):
1981 A = self.create_model("A")
1982 B = self.create_model("B")
1983 self.assertRelated(A, [])
1984 self.assertRelated(B, [])
1985
1986 def test_direct_fk(self):
1987 A = self.create_model(

Callers

nothing calls this directly

Calls 2

create_modelMethod · 0.95
assertRelatedMethod · 0.95

Tested by

no test coverage detected