Skip to content

Commit 38a67da

Browse files
authored
Merge pull request #862 from plugwise/delayed-fixes
Improve test-function
2 parents c12d6fa + fb63431 commit 38a67da

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_adam.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ class TestPlugwiseAdam(TestPlugwise): # pylint: disable=attribute-defined-outsi
1717
"""Tests for Adam."""
1818

1919
@pytest.mark.asyncio
20-
async def test_connect_adam_jvonk(self):
20+
async def test_connect_adam_bad_thermostat(self, caplog):
2121
"""Test Adam with missing thermostat data."""
2222
self.smile_setup = "adam_bad_thermostat"
2323

2424
testdata = await self.load_testdata(SMILE_TYPE, self.smile_setup)
2525
server, api, client = await self.connect_wrapper(raise_timeout=True)
26-
await self.device_test(api, "2023-12-17 00:00:01", testdata, skip_testing=True)
26+
await self.device_test(api, "2023-12-17 00:00:01", testdata)
27+
assert "Thermostat data in Zone" in caplog.text
2728

2829
await api.close_connection()
2930
await self.disconnect(server, client)

0 commit comments

Comments
 (0)