Skip to content

Commit 7a32ea6

Browse files
committed
Fix wrongly solved merge conflict
1 parent be439d2 commit 7a32ea6

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/test_wind_turbine.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,6 @@ def test_get_turbine_data_from_file(self):
3838
with pytest.raises(FileNotFoundError):
3939
get_turbine_data_from_file(turbine_type="...", path="not_existent")
4040

41-
def test_get_turbine_types(self, capsys):
42-
get_turbine_types()
43-
captured = capsys.readouterr()
44-
assert "Enercon" in captured.out
45-
get_turbine_types("oedb", print_out=False, filter_=False)
46-
msg = "`turbine_library` is 'wrong' but must be 'local' or 'oedb'."
47-
with pytest.raises(ValueError, match=msg):
48-
get_turbine_types("wrong")
49-
50-
def test_wrong_url_load_turbine_data(self):
51-
"""Load turbine data from oedb."""
52-
53-
with pytest.raises(
54-
ConnectionError, match="Database connection not successful"
55-
):
56-
load_turbine_data_from_oedb("wrong_schema")
57-
5841
@pytest.mark.filterwarnings("ignore:The WindTurbine")
5942
def test_string_representation_of_wind_turbine(self):
6043
assert "Wind turbine: ['hub height=120 m'" in repr(WindTurbine(120))

0 commit comments

Comments
 (0)