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:
parent
5b23d6666e
commit
f608e6a157
@ -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"),
|
||||||
|
Loading…
Reference in New Issue
Block a user