Skip to content

Commit 8ca36b8

Browse files
committed
Sonarcloud smell resolves continued for Anna (and indenting for exc)
1 parent ce7d9e5 commit 8ca36b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_anna.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ async def test_connect_anna_heatpump_heating(self):
313313
"standaard",
314314
],
315315
)
316-
_LOGGER.debug("ERROR raised: %s", exc.value)
316+
_LOGGER.debug("ERROR raised setting good schedule standaard: %s", exc.value)
317317

318318
# Now change some data and change directory reading xml from
319319
# emulating reading newer dataset after an update_interval,
@@ -367,7 +367,7 @@ async def test_connect_anna_heatpump_cooling(self):
367367
"standaard",
368368
],
369369
)
370-
_LOGGER.debug("ERROR raised: %s", exc.value)
370+
_LOGGER.debug("ERROR raised good schedule to standaard: %s", exc.value)
371371

372372
await smile.close_connection()
373373
await self.disconnect(server, client)
@@ -526,15 +526,15 @@ async def test_connect_anna_loria_heating_idle(self):
526526
"Winter",
527527
],
528528
)
529-
_LOGGER.debug("ERROR raised: %s", exc.value)
529+
_LOGGER.debug("ERROR raised setting to schedule Winter: %s", exc.value)
530530

531531
with pytest.raises(pw_exceptions.PlugwiseError) as exc:
532532
await self.tinker_thermostat_temp(
533533
smile,
534534
"15da035090b847e7a21f93e08c015ebc",
535535
block_cooling=True,
536536
)
537-
_LOGGER.debug("ERROR raised: %s", exc.value)
537+
_LOGGER.debug("ERROR raised setting block cooling: %s", exc.value)
538538

539539
await self.tinker_dhw_mode(smile)
540540

0 commit comments

Comments
 (0)