Skip to content

Commit

Permalink
update CRC value in one unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
bieli committed Apr 7, 2024
1 parent 66242a9 commit 7e784de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/codecs/test_iot_ext_codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
),
]

MSG_EXAMPLE_WITH_CRC = """t|123123123123,d|device_one,m|value=d:123.321,c|70AA"""
MSG_EXAMPLE_WITH_CRC = """t|123123123123,d|device_one,m|value=d:123.321,c|4C5A"""

MSG_EXAMPLE_WITH_CRC_AS_DATA_STRUCTS = [
Item(kind=ItemTypes.TIMESTAMP_MILIS, name="123123123123", metric=None),
Expand All @@ -128,7 +128,7 @@
data_type=MetricDataTypes.DECIMAL, value=Decimal("123.321")
),
),
Item(kind=ItemTypes.CRC, name="70AA", metric=None),
Item(kind=ItemTypes.CRC, name="4C5A", metric=None),
]


Expand Down

0 comments on commit 7e784de

Please sign in to comment.