From a77b3cc4078a8084ef5b1b068c486be9031d0506 Mon Sep 17 00:00:00 2001 From: Marek Sebera Date: Tue, 14 May 2024 22:07:07 +0200 Subject: [PATCH] update reference CCIT->XMODEM per https://github.com/Nicoretti/crc/blob/master/docs/docs/changelog/changes_7.0.0.md --- okdmr/tests/dmrlib/etsi/crc/test_crc.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/okdmr/tests/dmrlib/etsi/crc/test_crc.py b/okdmr/tests/dmrlib/etsi/crc/test_crc.py index 8e6aa45..b951baa 100644 --- a/okdmr/tests/dmrlib/etsi/crc/test_crc.py +++ b/okdmr/tests/dmrlib/etsi/crc/test_crc.py @@ -7,7 +7,7 @@ def test_ccit_bitcrc_crc(): - crc_ccit = Calculator(optimized=True, configuration=Crc16.CCITT) + crc_ccit = Calculator(optimized=True, configuration=Crc16.XMODEM) bit_crc_ccit = BitCrcCalculator( table_based=True, configuration=BitCrcConfiguration( diff --git a/pyproject.toml b/pyproject.toml index a6b663b..7405cb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ test = [ "pytest>=7.0.0", "pytest-cov>=4.0.0", "pytest-asyncio>=0.20.0", - "crc>=4.0.0", + "crc>=7.0.0", "coverage>=7.4.0" ]