Skip to content

Commit

Permalink
Fix node descriptor construction in discovery tests
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Aug 23, 2024
1 parent d6bd7cb commit 5bc754d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def _mock(
ieee="00:11:22:33:44:55:66:77",
manufacturer="mock manufacturer",
model="mock model",
node_desc=b"\x02@\x807\x10\x7fd\x00\x00*d\x00\x00",
node_desc=None,
patch_cluster=False,
):
return await device_joined(
Expand Down Expand Up @@ -329,7 +329,7 @@ async def test_discover_endpoint(
device_info[SIG_ENDPOINTS],
manufacturer=device_info[SIG_MANUFACTURER],
model=device_info[SIG_MODEL],
node_desc=device_info[SIG_NODE_DESC],
node_desc=zdo_t.NodeDescriptor(**device_info[SIG_NODE_DESC]),
patch_cluster=True,
)

Expand Down

0 comments on commit 5bc754d

Please sign in to comment.