Skip to content

Commit ba3c7c7

Browse files
authored
Assign default manufacturer code in quirks v1 tests (#3863)
1 parent 1c97fcf commit ba3c7c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def _dev(quirk, ieee=None, nwk=zigpy.types.NWK(0x1234), apply_quirk=True):
136136
raw_device = zigpy.device.Device(MockAppController, ieee, nwk)
137137
raw_device.manufacturer = manufacturer
138138
raw_device.model = model
139+
raw_device.node_desc = NodeDescriptor(manufacturer_code=1234)
139140

140141
endpoints = quirk.signature.get(ENDPOINTS, {})
141142
for ep_id, ep_data in endpoints.items():

0 commit comments

Comments
 (0)