Skip to content

Commit

Permalink
set full node descriptor on test coordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
dmulcahey committed Oct 14, 2024
1 parent 42927b2 commit 0e65608
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ async def zigpy_app_controller() -> AsyncGenerator[ControllerApplication, None]:

# Create a fake coordinator device
dev = app.add_device(nwk=app.state.node_info.nwk, ieee=app.state.node_info.ieee)
dev.node_desc = zdo_t.NodeDescriptor()
dev.node_desc = zdo_t.NodeDescriptor.deserialize(
b"\x02@\x807\x10\x7fd\x00\x00*d\x00\x00"
)[0]
dev.node_desc.logical_type = zdo_t.LogicalType.Coordinator
dev.manufacturer = "Coordinator Manufacturer"
dev.model = "Coordinator Model"
Expand Down

0 comments on commit 0e65608

Please sign in to comment.