diff options
| author | Yoong Kang Lim <yoongkang.lim@gmail.com> | 2015-06-01 22:46:45 +1000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-01 10:45:52 -0400 |
| commit | 076a63e672370ff1735e7942cd1ae0990bcbd263 (patch) | |
| tree | 744c6dd4079f36345fd06f43678f542648a22adf /tests | |
| parent | bf07ba523a9846fa9820b87321ef4222fed98e8c (diff) | |
Fixed #24883 -- Added MigrationGraph.__repr__()
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/migrations/test_graph.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/migrations/test_graph.py b/tests/migrations/test_graph.py index b4252a94c8..1d517f242d 100644 --- a/tests/migrations/test_graph.py +++ b/tests/migrations/test_graph.py @@ -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>") |
