Skip to content

Commit bd052d6

Browse files
committed
fix test
1 parent e1d9e38 commit bd052d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_usb.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,14 +2000,14 @@ async def load_callback(event: pw_api.NodeEvent, mac: str) -> None: # type: ign
20002000
awake_response2.timestamp = awake_response1.timestamp + td(
20012001
seconds=pw_sed.AWAKE_RETRY
20022002
)
2003-
assert await test_sed.set_awake_duration(15)
2003+
assert await test_sed.set_awake_duration(20)
20042004
assert test_sed.battery_config.dirty
20052005
mock_stick_controller.send_response = sed_config_accepted
20062006
await test_sed._awake_response(awake_response2) # pylint: disable=protected-access
20072007
await asyncio.sleep(0.001) # Ensure time for task to be executed
20082008
assert not test_sed.battery_config.dirty
2009-
assert test_sed.battery_config.awake_duration == 15
2010-
assert test_sed.awake_duration == 15
2009+
assert test_sed.battery_config.awake_duration == 20
2010+
assert test_sed.awake_duration == 20
20112011

20122012
# test maintenance interval
20132013
assert test_sed.maintenance_interval == 60

0 commit comments

Comments
 (0)