We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7738df6 commit 61572d8Copy full SHA for 61572d8
tests/test_wind_turbine.py
@@ -18,11 +18,11 @@ class TestWindTurbine:
18
19
def test_warning(self, recwarn):
20
source = os.path.join(os.path.dirname(__file__), '../example/data')
21
- self.test_turbine_data = {'hub_height': 100,
22
- 'rotor_diameter': 80,
23
- 'turbine_type': 'turbine_not_in_file',
24
- 'path': source}
25
- assert(WindTurbine(**self.test_turbine_data).power_curve is None)
+ test_turbine_data = {'hub_height': 100,
+ 'rotor_diameter': 80,
+ 'turbine_type': 'turbine_not_in_file',
+ 'path': source}
+ assert(WindTurbine(**test_turbine_data).power_curve is None)
26
assert recwarn.pop(WindpowerlibUserWarning)
27
28
def test_get_turbine_data_from_file(self):
0 commit comments