Skip to content

Commit 002d782

Browse files
committed
reinstate test
1 parent e2c7fc3 commit 002d782

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/test_modelchain.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,6 +1785,11 @@ def test_invalid_models(model, sapm_dc_snl_ac_system, location):
17851785
ModelChain(sapm_dc_snl_ac_system, location, **kwargs)
17861786

17871787

1788+
def test_bad_get_orientation():
1789+
with pytest.raises(ValueError):
1790+
modelchain.get_orientation('bad value')
1791+
1792+
17881793
# tests for PVSystem with multiple Arrays
17891794
def test_with_sapm_pvsystem_arrays(sapm_dc_snl_ac_system_Array, location,
17901795
weather):

0 commit comments

Comments
 (0)