예제 #1
0
 def test_graph_from_file_with_no_exits_routes_graph_should_be_equal(self):
     route = FindRoute('ABC', 'DEF', FILE)
     graph = route.graph_from_file()
     self.assertEqual(graph, self.graph)
예제 #2
0
 def test_graph_from_file(self):
     route = FindRoute(file_data=FILE)
     graph = route.graph_from_file()
     self.assertEqual(graph, self.graph)