diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2018-01-01 15:54:18 +0100 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2018-01-01 15:54:18 +0100 |
commit | bf2df602e99e722902f8cf1259bb23baf175255d (patch) | |
tree | 3326dd3d65b7261b67f1bb0a1d4f737c9077ef63 /test/test_otultra2.py | |
parent | test_lifescan: rename from test_otultraeasy, and cleanup. (diff) | |
download | glucometerutils-bf2df602e99e722902f8cf1259bb23baf175255d.tar glucometerutils-bf2df602e99e722902f8cf1259bb23baf175255d.tar.gz glucometerutils-bf2df602e99e722902f8cf1259bb23baf175255d.tar.bz2 glucometerutils-bf2df602e99e722902f8cf1259bb23baf175255d.tar.lz glucometerutils-bf2df602e99e722902f8cf1259bb23baf175255d.tar.xz glucometerutils-bf2df602e99e722902f8cf1259bb23baf175255d.tar.zst glucometerutils-bf2df602e99e722902f8cf1259bb23baf175255d.zip |
Diffstat (limited to '')
-rw-r--r-- | test/test_otultra2.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_otultra2.py b/test/test_otultra2.py index 9f18a85..b421c79 100644 --- a/test/test_otultra2.py +++ b/test/test_otultra2.py @@ -3,7 +3,7 @@ __author__ = 'Diego Elio Pettenò' __email__ = 'flameeyes@flameeyes.eu' -__copyright__ = 'Copyright © 2013-2017, Diego Elio Pettenò' +__copyright__ = 'Copyright © 2013-2018, Diego Elio Pettenò' __license__ = 'MIT' import os @@ -22,10 +22,12 @@ from glucometerutils import exceptions class TestOTUltra2(parameterized.TestCase): def test_checksum(self): + # pylint: disable=protected-access checksum = otultra2._calculate_checksum(b'T') self.assertEqual(0x0054, checksum) def test_checksum_full(self): + # pylint: disable=protected-access checksum = otultra2._calculate_checksum( b'T "SAT","08/03/13","22:12:00 "') self.assertEqual(0x0608, checksum) |