Skip to content

Commit

Permalink
Updated tests to split one test into two
Browse files Browse the repository at this point in the history
  • Loading branch information
andylockran committed Jan 28, 2024
1 parent 1a44d5b commit bcc8c91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tool.poetry]
name = "heatmiserv3"
version = "2.0.1"
version = "2.0.2"
description = "A library to interact with Heatmiser Themostats using V3 protocol."
authors = ["Andy Loughran <[email protected]>"]
license = "Apache 2"
license = "MIT"
readme = "README.md"

[tool.poetry.dependencies]
Expand Down
3 changes: 2 additions & 1 deletion tests/test_heatmiser.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def test_update_4_bits(self):
crc.extract_bits(4)
assert crc.high == 78
assert crc.low == 155


def test_update_8_bits(self):
crc = heatmiser.CRC16()
assert crc.high == crc.low
crc.extract_bits(8)
Expand Down

0 comments on commit bcc8c91

Please sign in to comment.