Skip to content

Commit 11135a2

Browse files
committed
Fix test-function
1 parent b20a1f3 commit 11135a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ async def tinker_reboot(self, smile, unhappy=False):
644644
await smile.reboot_gateway()
645645
_LOGGER.info(" + worked as intended")
646646
return True
647-
except pw_exceptions.PlugwiseError:
647+
except pw_exceptions.ConnectionFailedError:
648648
if unhappy:
649649
_LOGGER.info(" + failed as expected")
650650
return False

0 commit comments

Comments
 (0)