Skip to content

Commit

Permalink
Test no-op add_transient_link_key
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Jul 24, 2024
1 parent 71e0136 commit d6837d0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_ezsp_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,3 +354,12 @@ async def test_source_route(ezsp_f) -> None:
assert ezsp_f.setSourceRoute.mock_calls == [
call(destination=0x1234, relayList=[0x5678, 0xABCD])
]


async def test_add_transient_link_key(ezsp_f) -> None:
# It's a no-op
status = await ezsp_f.add_transient_link_key(
ieee=t.EUI64.convert("ff:ff:ff:ff:ff:ff:ff:ff"),
key=t.KeyData.convert("ZigBeeAlliance09"),

Check failure on line 363 in tests/test_ezsp_v4.py

View workflow job for this annotation

GitHub Actions / shared-ci / Run tests Python 3.8.14

test_add_transient_link_key ValueError: non-hexadecimal number found in fromhex() arg at position 0

Check failure on line 363 in tests/test_ezsp_v4.py

View workflow job for this annotation

GitHub Actions / shared-ci / Run tests Python 3.9.15

test_add_transient_link_key ValueError: non-hexadecimal number found in fromhex() arg at position 0

Check failure on line 363 in tests/test_ezsp_v4.py

View workflow job for this annotation

GitHub Actions / shared-ci / Run tests Python 3.10.8

test_add_transient_link_key ValueError: non-hexadecimal number found in fromhex() arg at position 0

Check failure on line 363 in tests/test_ezsp_v4.py

View workflow job for this annotation

GitHub Actions / shared-ci / Run tests Python 3.11.0

test_add_transient_link_key ValueError: non-hexadecimal number found in fromhex() arg at position 0

Check failure on line 363 in tests/test_ezsp_v4.py

View workflow job for this annotation

GitHub Actions / shared-ci / Run tests Python 3.12

test_add_transient_link_key ValueError: non-hexadecimal number found in fromhex() arg at position 0
)
assert status == t.sl_Status.OK

0 comments on commit d6837d0

Please sign in to comment.