Skip to content

Commit c376e76

Browse files
committed
Add extra smile._timeout asserts
1 parent 5a20adc commit c376e76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_init.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,10 @@ async def device_test(
552552
await smile.full_update_device()
553553
smile.get_all_devices()
554554
data = await smile.async_update()
555+
assert smile._timeout == 30
555556
else:
556557
data = await smile.async_update()
558+
assert smile._timeout == 10
557559
else:
558560
_LOGGER.info("Asserting updated testdata:")
559561
data = await smile.async_update()

0 commit comments

Comments
 (0)