Skip to content

Commit cdb5ff8

Browse files
committed
Fix asserts
1 parent 72e85fd commit cdb5ff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_usb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@ async def test_node_discovery_and_load(
25122512
assert state[pw_api.NodeFeature.INFO].version == "070073"
25132513

25142514
assert state[pw_api.NodeFeature.RELAY].state
2515-
assert state[pw_api.NodeFeature.RELAY_LOCK]
2515+
assert not state[pw_api.NodeFeature.RELAY_LOCK]
25162516

25172517
# Check 1111111111111111
25182518
get_state_timestamp = dt.now(UTC).replace(minute=0, second=0, microsecond=0)
@@ -2549,7 +2549,7 @@ async def test_node_discovery_and_load(
25492549
)
25502550
assert state[pw_api.NodeFeature.AVAILABLE].state
25512551
assert state[pw_api.NodeFeature.RELAY].state
2552-
assert state[pw_api.NodeFeature.RELAY_LOCK]
2552+
assert not state[pw_api.NodeFeature.RELAY_LOCK]
25532553

25542554

25552555
# region Scan

0 commit comments

Comments
 (0)