MCPcopy
hub / github.com/django/django / test_validate_consistency_no_error

Method test_validate_consistency_no_error

tests/migrations/test_graph.py:290–297  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

288 graph.validate_consistency()
289
290 def test_validate_consistency_no_error(self):
291 graph = MigrationGraph()
292 graph.add_node(("app_a", "0001"), None)
293 graph.add_node(("app_b", "0002"), None)
294 graph.add_dependency(
295 "app_a.0001", ("app_a", "0001"), ("app_b", "0002"), skip_validation=True
296 )
297 graph.validate_consistency()
298
299 def test_validate_consistency_dummy(self):
300 """

Callers

nothing calls this directly

Calls 4

add_nodeMethod · 0.95
add_dependencyMethod · 0.95
validate_consistencyMethod · 0.95
MigrationGraphClass · 0.90

Tested by

no test coverage detected