Skip to content

Commit 5587d0b

Browse files
committed
Revert removal of catching PlugwiseError
1 parent 836ec28 commit 5587d0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_smile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4616,13 +4616,15 @@ async def test_connect_anna_loria_heating_idle(self):
46164616
)
46174617
assert switch_change
46184618

4619-
await self.tinker_thermostat(
4619+
with pytest.raises(pw_exceptions.PlugwiseError) as exc:
4620+
await self.tinker_thermostat(
46204621
smile,
46214622
"15da035090b847e7a21f93e08c015ebc",
46224623
good_schedules=[
46234624
"Winter",
46244625
],
46254626
)
4627+
_LOGGER.debug("ERROR raised: %s", exc.value)
46264628

46274629
with pytest.raises(pw_exceptions.PlugwiseError) as exc:
46284630
await self.tinker_thermostat_temp(

0 commit comments

Comments
 (0)