From f608e6a157fcf8d7e91fe8b120d21b78a4df1fb9 Mon Sep 17 00:00:00 2001 From: Marcelo Galigniana Date: Mon, 13 Feb 2023 21:23:30 -0300 Subject: [PATCH] Completed test coverage for django.db.migrations.graph. --- tests/migrations/test_graph.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/migrations/test_graph.py b/tests/migrations/test_graph.py index a9efb172d9..033a5978e2 100644 --- a/tests/migrations/test_graph.py +++ b/tests/migrations/test_graph.py @@ -460,6 +460,10 @@ class NodeTests(SimpleTestCase): node = Node(("app_a", "0001")) self.assertEqual(repr(node), "") + def test_node_str(self): + node = Node(("app_a", "0001")) + self.assertEqual(str(node), "('app_a', '0001')") + def test_dummynode_repr(self): node = DummyNode( key=("app_a", "0001"),