Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Nov 7, 2023
1 parent dc4a1d3 commit 93faf47
Show file tree
Hide file tree
Showing 5 changed files with 677 additions and 646 deletions.
4 changes: 2 additions & 2 deletions tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def test_deconz_addr_ep():
a = t.DeconzAddressEndpoint()
a.address_mode = 2
a.address = 0x55AA
with pytest.raises(AttributeError):
with pytest.raises(TypeError):
a.serialize()
a.endpoint = 0xCC
assert a.serialize() == data
Expand All @@ -327,7 +327,7 @@ def test_deconz_addr_ep():
a = t.DeconzAddressEndpoint()
a.address_mode = 3
a.address = [0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38]
with pytest.raises(AttributeError):
with pytest.raises(TypeError):
a.serialize()
a.endpoint = 0xCC
assert a.serialize() == data
Expand Down
Loading

0 comments on commit 93faf47

Please sign in to comment.