Skip to content

Commit 61572d8

Browse files
committed
Fix variable name in test
1 parent 7738df6 commit 61572d8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_wind_turbine.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ class TestWindTurbine:
1818

1919
def test_warning(self, recwarn):
2020
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)
21+
test_turbine_data = {'hub_height': 100,
22+
'rotor_diameter': 80,
23+
'turbine_type': 'turbine_not_in_file',
24+
'path': source}
25+
assert(WindTurbine(**test_turbine_data).power_curve is None)
2626
assert recwarn.pop(WindpowerlibUserWarning)
2727

2828
def test_get_turbine_data_from_file(self):

0 commit comments

Comments
 (0)