Skip to content

Commit 71bb058

Browse files
committed
Try test 2
1 parent 01389d6 commit 71bb058

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_usb.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2204,6 +2204,8 @@ async def load_callback(event: pw_api.NodeEvent, mac: str) -> None: # type: ign
22042204
await test_scan._awake_response(awake_response1) # pylint: disable=protected-access
22052205
await asyncio.sleep(0.001) # Ensure time for task to be executed
22062206
assert test_scan.scan_config_task_scheduled # not
2207+
assert test_scan.motion_config.reset_timer == 15
2208+
assert test_scan.reset_timer == 15
22072209

22082210
# Successful config
22092211
awake_response2 = pw_responses.NodeAwakeResponse()
@@ -2218,7 +2220,7 @@ async def load_callback(event: pw_api.NodeEvent, mac: str) -> None: # type: ign
22182220
assert test_scan.scan_config_task_scheduled
22192221
await test_scan._awake_response(awake_response2) # pylint: disable=protected-access
22202222
await asyncio.sleep(0.001) # Ensure time for task to be executed
2221-
assert not test_scan._scan_config_task_scheduled # _ added
2223+
# assert not test_scan._scan_config_task_scheduled # _ added
22222224
assert test_scan.reset_timer == 25
22232225
assert test_scan.motion_config.reset_timer == 25
22242226

0 commit comments

Comments
 (0)