[PATCH 1/4] tsort_dict -> tsort in the test case.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 tests/tsort_test.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/tsort_test.py b/tests/tsort_test.py
index 6202971..7547291 100644
--- a/tests/tsort_test.py
+++ b/tests/tsort_test.py
@@ -16,13 +16,13 @@ class TopologicalSortTestCase(unittest.TestCase):
         edges = [(5, 4), (4, 3), (3, 2), (2, 1), (3, 5)]
         graph = tsort.create_graph(items, edges)
         self.failUnlessRaises(tsort.CyclicGraphError,
-                              tsort.tsort_dict,
+                              tsort.tsort,
                               graph)
 
         edges = [(5, 4), (4, 3), (3, 2), (2, 1), (2, 3)]
         graph = tsort.create_graph(items, edges)
         self.failUnlessRaises(tsort.CyclicGraphError,
-                              tsort.tsort_dict,
+                              tsort.tsort,
                               graph)
 
         items = ['a', 'b', 'c', 'd']
@@ -40,7 +40,7 @@ class TopologicalSortTestCase(unittest.TestCase):
             return True
 
         try:
-            order = tsort.tsort_dict(graph)
+            order = tsort.tsort(graph)
         except Exception as e:
             self.fail(e)
 
-- 
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux