Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tests/test_adam.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ class TestPlugwiseAdam(TestPlugwise): # pylint: disable=attribute-defined-outsi
"""Tests for Adam."""

@pytest.mark.asyncio
async def test_connect_adam_jvonk(self):
async def test_connect_adam_bad_thermostat(self, caplog):
"""Test Adam with missing thermostat data."""
self.smile_setup = "adam_bad_thermostat"

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

await api.close_connection()
await self.disconnect(server, client)
Expand Down