Skip to content

Commit 47ff43c

Browse files
committed
Delete tests that are not needed due to changes
1 parent ff5c4aa commit 47ff43c

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/test_modelchain.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -218,18 +218,6 @@ def test_run_model(self):
218218
test_mc.run_model(weather_df)
219219
assert_series_equal(test_mc.power_output, power_output_exp)
220220

221-
# Ideal gas equation and density corrected power coefficient curve
222-
power_output_exp = pd.Series(data=[569117.952419, 1302746.06501],
223-
name='feedin')
224-
test_modelchain = {'wind_speed_model': 'hellman',
225-
'density_model': 'ideal_gas',
226-
'power_output_model': 'power_coefficient_curve',
227-
'density_correction': True}
228-
test_mc = mc.ModelChain(wt.WindTurbine(**test_turbine),
229-
**test_modelchain)
230-
test_mc.run_model(weather_df)
231-
assert_series_equal(test_mc.power_output, power_output_exp)
232-
233221
# Raise ValueErrors due to wrong spelling of parameters
234222
with pytest.raises(ValueError):
235223
test_modelchain['power_output_model'] = 'wrong_spelling'
@@ -259,12 +247,6 @@ def test_run_model(self):
259247
test_mc = mc.ModelChain(wt.WindTurbine(**test_turbine),
260248
**test_modelchain)
261249
test_mc.run_model(weather_df)
262-
with pytest.raises(TypeError):
263-
test_modelchain = {'power_output_model': 'power_coefficient_curve',
264-
'density_correction': 'wrong_type'}
265-
test_mc = mc.ModelChain(wt.WindTurbine(**test_turbine),
266-
**test_modelchain)
267-
test_mc.run_model(weather_df)
268250

269251
# Raise TypeErrors due to missing cp- or p-values
270252
with pytest.raises(TypeError):

0 commit comments

Comments
 (0)