Skip to content

Commit

Permalink
fixing failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joda9 committed Aug 26, 2024
1 parent f502ca9 commit 4673206
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/network/test_topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,6 @@ def test_to_geopandas(self):
attr = getattr(geopandas_container, attr_str)
grid_attr = getattr(grid, attr_str.replace("_gdf", "_df"))

assert isinstance(attr, GeoDataFrame)
assert isinstance(attr, GeoDataFrame)

common_cols = list(set(attr.columns).intersection(grid_attr.columns))
Expand All @@ -1027,11 +1026,6 @@ def test_to_geopandas(self):
grid_attr[common_cols].sort_index(),
check_names=False,
)
assert_frame_equal(
attr[common_cols].sort_index(),
grid_attr[common_cols].sort_index(),
check_names=False,
)

def test_from_csv(self):
"""
Expand Down Expand Up @@ -1807,7 +1801,6 @@ def test_connect_to_lv(self):
)
# check new heat pump
assert self.edisgo.topology.loads_df.at[comp_name, "p_set"] == 0.1
assert self.edisgo.topology.loads_df.at[comp_name, "p_set"] == 0.1

# ############# storage unit #################
# test existing substation ID (voltage level 7)
Expand Down

0 comments on commit 4673206

Please sign in to comment.