From 46732068b663c738988c5cb04d3825e69d7e8e0f Mon Sep 17 00:00:00 2001 From: joda9 Date: Mon, 26 Aug 2024 16:45:16 +0200 Subject: [PATCH] fixing failing tests --- tests/network/test_topology.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/network/test_topology.py b/tests/network/test_topology.py index 04a98e2d1..8bac2dc66 100644 --- a/tests/network/test_topology.py +++ b/tests/network/test_topology.py @@ -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)) @@ -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): """ @@ -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)