summaryrefslogtreecommitdiffstats
path: root/test/test_otultraeasy.py
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-01-16 23:07:42 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-01-16 23:07:42 +0100
commit90e9a2d81d555bd916f57d7538881966e77543e4 (patch)
treefe006a4e16b674ffff25cf97ff1ae83bb1535225 /test/test_otultraeasy.py
parentAdd an emacs local configuration file. (diff)
downloadglucometerutils-90e9a2d81d555bd916f57d7538881966e77543e4.tar
glucometerutils-90e9a2d81d555bd916f57d7538881966e77543e4.tar.gz
glucometerutils-90e9a2d81d555bd916f57d7538881966e77543e4.tar.bz2
glucometerutils-90e9a2d81d555bd916f57d7538881966e77543e4.tar.lz
glucometerutils-90e9a2d81d555bd916f57d7538881966e77543e4.tar.xz
glucometerutils-90e9a2d81d555bd916f57d7538881966e77543e4.tar.zst
glucometerutils-90e9a2d81d555bd916f57d7538881966e77543e4.zip
Diffstat (limited to 'test/test_otultraeasy.py')
-rw-r--r--test/test_otultraeasy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_otultraeasy.py b/test/test_otultraeasy.py
index 07480d2..7b91d56 100644
--- a/test/test_otultraeasy.py
+++ b/test/test_otultraeasy.py
@@ -15,8 +15,8 @@ import mock
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
-from glucometerutils.drivers import lifescan_common
from glucometerutils.drivers import otultraeasy
+from glucometerutils.support import lifescan
from glucometerutils import exceptions
class TestOTUltraMini(unittest.TestCase):
@@ -31,12 +31,12 @@ class TestOTUltraMini(unittest.TestCase):
def testCrc(self):
self.assertEqual(
0x41cd,
- lifescan_common.crc_ccitt(b'\x02\x06\x06\x03'))
+ lifescan.crc_ccitt(b'\x02\x06\x06\x03'))
cmd_array = array.array('B', b'\x02\x06\x08\x03')
self.assertEqual(
0x62C2,
- lifescan_common.crc_ccitt(cmd_array))
+ lifescan.crc_ccitt(cmd_array))
def testPacketUpdateChecksum(self):
packet = otultraeasy._Packet()