Skip to content

Commit

Permalink
Fix tests for new zigbee stats logic
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Oct 10, 2021
1 parent 6244d49 commit fd6a9b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_z3.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ class Entity:

def update(self, data: dict):
assert data == {
'eui64': '0x00158D0000000002', 'nwk': '0x131E', 'ago': 335,
'type': 'router', 'parent': '0x1F0C'
'eui64': '0x00158D0000000002', 'nwk': '0x131e', 'ago': 335,
'type': 'router', 'parent': '0x1f0c'
}
Entity.passed = True

gw = Gateway3('', '')
gw.devices['lumi.158d0000000002'] = {
'nwk': '0x131e',
'stats': Entity()
}
# gw.add_stats('0x00158D0000000002', handler)
Expand Down

0 comments on commit fd6a9b9

Please sign in to comment.