Skip to content

Commit b3a2630

Browse files
committed
Fix related testcase
1 parent b956843 commit b3a2630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_smile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3029,7 +3029,6 @@ async def test_connect_anna_heatpump_heating(self):
30293029
_LOGGER.info(" # Assert no legacy")
30303030
assert not smile._smile_legacy
30313031

3032-
# Preset cooling_active to True, will turn to False due to the lowered outdoor temp
30333032
await self.device_test(smile, testdata)
30343033
assert self.cooling_present
30353034
assert not self.notifications
@@ -3136,7 +3135,8 @@ async def test_connect_anna_heatpump_cooling_to_off(self):
31363135
self.smile_setup = "anna_heatpump_cooling_to_off"
31373136
server, smile, client = await self.connect_wrapper()
31383137

3139-
smile.cooling_active = True
3138+
# Preset _cooling_active to True, will turn to False due to the lowered outdoor temp
3139+
smile._cooling_active = True
31403140
await self.device_test(smile, testdata)
31413141
await smile.close_connection()
31423142
await self.disconnect(server, client)

0 commit comments

Comments
 (0)