diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2016-03-02 00:01:33 +0100 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2016-03-02 00:06:11 +0100 |
commit | 87d8fb75811a4186b27baf24d12a155a7acce414 (patch) | |
tree | 3ab9ff58a9771afe58b2031269ad631341eb98ea /test | |
parent | accuchek_reports: add a new driver for Accu-Chek Mobile meters. (diff) | |
download | glucometerutils-87d8fb75811a4186b27baf24d12a155a7acce414.tar glucometerutils-87d8fb75811a4186b27baf24d12a155a7acce414.tar.gz glucometerutils-87d8fb75811a4186b27baf24d12a155a7acce414.tar.bz2 glucometerutils-87d8fb75811a4186b27baf24d12a155a7acce414.tar.lz glucometerutils-87d8fb75811a4186b27baf24d12a155a7acce414.tar.xz glucometerutils-87d8fb75811a4186b27baf24d12a155a7acce414.tar.zst glucometerutils-87d8fb75811a4186b27baf24d12a155a7acce414.zip |
Diffstat (limited to 'test')
-rw-r--r-- | test/test_otultra2.py | 2 | ||||
-rw-r--r-- | test/test_otultraeasy.py | 2 |
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() |