Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
raman325 committed Oct 13, 2024
1 parent 2c3ff5a commit f8f4e3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/util/test_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ async def test_set_usercodes(
{"response": {"status": 255}},
)

# Test wrong types to ensure values get converted
assert await set_usercodes(node, {"1": 1234}) == SupervisionResult(
assert await set_usercodes(node, {1: "1234"}) == SupervisionResult(
{"status": SupervisionStatus.SUCCESS}
)
assert len(ack_commands) == 1
Expand Down

0 comments on commit f8f4e3d

Please sign in to comment.