mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #24883 -- Added MigrationGraph.__repr__()
This commit is contained in:
committed by
Tim Graham
parent
bf07ba523a
commit
076a63e672
@@ -283,3 +283,4 @@ class GraphTests(SimpleTestCase):
|
||||
graph.add_dependency("app_a.0003", ("app_a", "0003"), ("app_b", "0002"))
|
||||
|
||||
self.assertEqual(force_text(graph), "Graph: 5 nodes, 3 edges")
|
||||
self.assertEqual(repr(graph), "<MigrationGraph: nodes=5, edges=3>")
|
||||
|
||||
Reference in New Issue
Block a user