mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #24883 -- Added MigrationGraph.__repr__()
This commit is contained in:
parent
bf07ba523a
commit
076a63e672
2 changed files with 9 additions and 4 deletions
|
@ -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>")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue