diff --git a/tests/test_core_preprocess.py b/tests/test_core_preprocess.py index cfc2b960..38753bec 100644 --- a/tests/test_core_preprocess.py +++ b/tests/test_core_preprocess.py @@ -523,7 +523,6 @@ def test_loading_from_df(self, data_source_dir, simple_supply): demand_elec = pd.read_csv( data_source_dir / "demand_elec.csv", index_col=0, header=0 ) - calliope.set_log_verbosity("info") override = AttrDict.from_yaml_string( """ data_sources: @@ -540,12 +539,7 @@ def test_loading_from_df(self, data_source_dir, simple_supply): "simple_supply,two_hours,investment_costs", data_source_dfs={"demand_elec": demand_elec}, ) - simple_supply_from_df.build() - simple_supply_from_df.solve() assert simple_supply_from_df.inputs.sink_use_equals.equals( simple_supply.inputs.sink_use_equals ) - simple_supply_cost = simple_supply.results.cost.sum().item() - simple_supply_from_df_cost = simple_supply_from_df.results.cost.sum().item() - assert simple_supply_cost == simple_supply_from_df_cost