1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Completed test coverage for django.db.migrations.graph.

This commit is contained in:
Marcelo Galigniana 2023-02-13 21:23:30 -03:00 committed by Mariusz Felisiak
parent 5b23d6666e
commit f608e6a157

View File

@ -460,6 +460,10 @@ class NodeTests(SimpleTestCase):
node = Node(("app_a", "0001")) node = Node(("app_a", "0001"))
self.assertEqual(repr(node), "<Node: ('app_a', '0001')>") self.assertEqual(repr(node), "<Node: ('app_a', '0001')>")
def test_node_str(self):
node = Node(("app_a", "0001"))
self.assertEqual(str(node), "('app_a', '0001')")
def test_dummynode_repr(self): def test_dummynode_repr(self):
node = DummyNode( node = DummyNode(
key=("app_a", "0001"), key=("app_a", "0001"),