Skip to content

Commit d96d545

Browse files
committed
Add simple additional tests
1 parent 42eac60 commit d96d545

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/test_pystiebeleltron.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,18 @@ def test_operation(self, pyse_api):
9191
oper = pyse_api.get_operation()
9292
assert oper == 'DHW'
9393

94+
def test_humidity(self, pyse_api):
95+
humidity = pyse_api.get_current_humidity()
96+
assert humidity == 20.0
97+
98+
def test_statuses(self, pyse_api):
99+
status = pyse_api.get_heating_status()
100+
assert status is False
101+
status = pyse_api.get_cooling_status()
102+
assert status is True
103+
status = pyse_api.get_filter_alarm_status()
104+
assert status is False
105+
94106
@pytest.mark.skip
95107
def test_fail(self):
96108
assert 0

0 commit comments

Comments
 (0)