diff --git a/tests/test_adam.py b/tests/test_adam.py index 516565444..aa7041249 100644 --- a/tests/test_adam.py +++ b/tests/test_adam.py @@ -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)