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)
def test_graph_from_file(self): route = FindRoute(file_data=FILE) graph = route.graph_from_file() self.assertEqual(graph, self.graph)