summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_otultra2.py2
-rw-r--r--test/test_otultraeasy.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_otultra2.py b/test/test_otultra2.py
index 4d59f6a..34078e3 100644
--- a/test/test_otultra2.py
+++ b/test/test_otultra2.py
@@ -65,7 +65,7 @@ class TestOTUltra2(unittest.TestCase):
def test_invalid_checksum(self):
self._set_return_string('% 1337\r')
- self.assertRaises(lifescan_common.InvalidChecksum,
+ self.assertRaises(exceptions.InvalidChecksum,
self.device.get_serial_number)
def test_broken_checksum(self):
diff --git a/test/test_otultraeasy.py b/test/test_otultraeasy.py
index f263f12..07480d2 100644
--- a/test/test_otultraeasy.py
+++ b/test/test_otultraeasy.py
@@ -52,7 +52,7 @@ class TestOTUltraMini(unittest.TestCase):
packet.validate_checksum()
packet.disconnect = False
- with self.assertRaises(lifescan_common.InvalidChecksum):
+ with self.assertRaises(exceptions.InvalidChecksum):
packet.validate_checksum()