UniFi Protect test refactoring (#63486)
* UniFi Protect test refactoring * More pylint fixes * Use load_fixture helper * yield to return where able
This commit is contained in:
parent
8864492e35
commit
d0d5222bf4
13 changed files with 419 additions and 109 deletions
|
@ -37,7 +37,7 @@ async def camera_fixture(
|
|||
|
||||
assert_entity_counts(hass, Platform.BUTTON, 1, 0)
|
||||
|
||||
yield (camera_obj, "button.test_camera_reboot_device")
|
||||
return (camera_obj, "button.test_camera_reboot_device")
|
||||
|
||||
|
||||
async def test_button(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue