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 eedf553 commit a3823edCopy full SHA for a3823ed
tests/test_wind_turbine.py
@@ -97,3 +97,13 @@ def test_wrongly_defined_to_group_method(self):
97
match="The 'number' and the 'total_capacity' "
98
"parameter are mutually exclusive."):
99
e_t_1.to_group(5, 3000)
100
+
101
+ def test_create_unphysical_turbine(self):
102
+ char = {
103
+ 'hub_height': 80,
104
+ 'rotor_diameter': 160,
105
+ 'turbine_type': 'DUMMY 3',
106
+ 'path': self.source
107
+ }
108
+ with pytest.raises(ValueError):
109
+ WindTurbine(**char)
0 commit comments