MCPcopy
hub / github.com/django/django / test_node_repr

Method test_node_repr

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

Source from the content-addressed store, hash-verified

457
458class NodeTests(SimpleTestCase):
459 def test_node_repr(self):
460 node = Node(("app_a", "0001"))
461 self.assertEqual(repr(node), "<Node: ('app_a', '0001')>")
462
463 def test_node_str(self):
464 node = Node(("app_a", "0001"))

Callers

nothing calls this directly

Calls 1

NodeClass · 0.90

Tested by

no test coverage detected