MCPcopy
hub / github.com/django/django / test_node_str

Method test_node_str

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

Source from the content-addressed store, hash-verified

461 self.assertEqual(repr(node), "<Node: ('app_a', '0001')>")
462
463 def test_node_str(self):
464 node = Node(("app_a", "0001"))
465 self.assertEqual(str(node), "('app_a', '0001')")
466
467 def test_dummynode_repr(self):
468 node = DummyNode(

Callers

nothing calls this directly

Calls 1

NodeClass · 0.90

Tested by

no test coverage detected