Skip to content

Commit

Permalink
code: fix issue with test_load_buses
Browse files Browse the repository at this point in the history
  • Loading branch information
finozzifa committed Dec 2, 2024
1 parent 244b7bd commit 2dc6b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_base_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ def test_load_buses(tmpdir, config, buses_dataframe):
buses_path = pathlib.Path(tmpdir, "buses.csv")
buses_dataframe.to_csv(buses_path, index=False)
countries = config["countries"]
europe_shape = pathlib.Path(path_cwd, "resources", "europe_shape.geojson")
italy_shape = pathlib.Path(path_cwd, "test", "test_data", "italy_shape.geojson")
df_buses_output = _load_buses(
buses_path, europe_shape, countries, config
buses_path, italy_shape, countries, config
).reset_index()
pathlib.Path.unlink(buses_path)
df_comparison = df_buses_output.compare(df_buses_reference)
Expand Down

0 comments on commit 2dc6b9a

Please sign in to comment.