From 87d8fb75811a4186b27baf24d12a155a7acce414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Tue, 1 Mar 2016 23:01:33 +0000 Subject: Move the InvalidChecksum exception to the base exceptions module. Most glucometers have *some* sort of checksum, so there is no reason to implement this on a per-driver basis. --- test/test_otultra2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_otultra2.py') 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): -- cgit v1.2.3