File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -547,17 +547,17 @@ async def node_motion_state(
547547 )
548548 )
549549
550- async def _wait_for_scan (self , stick , timeout : float = 10.0 ) -> None :
550+ async def _wait_for_scan (self , stick ) -> None :
551551 """Wait for scan completion with timeout."""
552552
553553 async def wait_scan_completed ():
554554 while not stick ._network ._register .scan_completed :
555555 await asyncio .sleep (0.1 )
556556
557557 try :
558- await asyncio .wait_for (wait_scan_completed (), timeout = timeout )
558+ await asyncio .wait_for (wait_scan_completed (), timeout = 10 )
559559 except TimeoutError :
560- pytest .fail (f "Scan did not complete within { timeout } seconds" )
560+ pytest .fail ("Scan did not complete within 10 seconds" )
561561
562562 @pytest .mark .asyncio
563563 async def test_stick_node_discovered_subscription ( # noqa: PLR0915
You can’t perform that action at this time.
0 commit comments