Skip to content
Snippets Groups Projects
Commit b11f027e authored by hagrid67's avatar hagrid67
Browse files

switched a shortest_path test back to loading from a package resource rather than a file path

parent 8ed5dbf4
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ def test_get_shortest_paths_max_depth():
# see https://gitlab.aicrowd.com/flatland/flatland/issues/279
def test_get_shortest_paths_agent_handle():
#env = load_flatland_environment_from_file('Level_distance_map_shortest_path.pkl', 'env_data.tests')
env, _ = RailEnvPersister.load_new("./env_data/tests/Level_distance_map_shortest_path.mpk")
env, _ = RailEnvPersister.load_new("Level_distance_map_shortest_path.mpk", "env_data.tests")
env.reset()
actual = get_shortest_paths(env.distance_map, agent_handle=6)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment