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 f1b5cb7 commit e54a765Copy full SHA for e54a765
tests/test_wind_turbine.py
@@ -56,3 +56,7 @@ def test_wrong_url_load_turbine_data(self):
56
with pytest.raises(ConnectionError,
57
match="Database connection not successful"):
58
load_turbine_data_from_oedb('wrong_schema')
59
+
60
+ @pytest.mark.filterwarnings("ignore:The WindTurbine")
61
+ def test_string_representation_of_wind_turbine(self):
62
+ assert "Wind turbine: ['hub height=120 m'" in repr(WindTurbine(120))
0 commit comments