Skip to content

Commit b7f1c2a

Browse files
committed
Update testcode as suggested
1 parent f050ee0 commit b7f1c2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_usb.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,9 @@ async def node_relay_state(
716716
self.test_relay_state_on.set_result(state.state)
717717
else:
718718
self.test_relay_state_off.set_result(state.state)
719+
if feature == pw_api.NodeFeature.RELAY_LOCK:
720+
# Handle RELAY_LOCK callbacks if needed
721+
pass
719722
else:
720723
self.test_relay_state_on.set_exception(
721724
BaseException(

0 commit comments

Comments
 (0)