mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Completed test coverage for django.db.migrations.graph.
This commit is contained in:
parent
5b23d6666e
commit
f608e6a157
1 changed files with 4 additions and 0 deletions
|
@ -460,6 +460,10 @@ class NodeTests(SimpleTestCase):
|
|||
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):
|
||||
node = DummyNode(
|
||||
key=("app_a", "0001"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue