summaryrefslogtreecommitdiffstats
path: root/test/test_otultraeasy.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_otultraeasy.py')
-rw-r--r--test/test_otultraeasy.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/test_otultraeasy.py b/test/test_otultraeasy.py
index 252b7c7..c6fce83 100644
--- a/test/test_otultraeasy.py
+++ b/test/test_otultraeasy.py
@@ -6,19 +6,18 @@
# pylint: disable=protected-access,missing-docstring
from absl.testing import absltest
-
from glucometerutils.drivers import otultraeasy
class ConstructTest(absltest.TestCase):
-
def test_make_packet_ack(self):
self.assertEqual(
- b'\x02\x06\x08\x03\xc2\x62',
- otultraeasy._make_packet(b'', False, False, False, True))
+ b"\x02\x06\x08\x03\xc2\x62",
+ otultraeasy._make_packet(b"", False, False, False, True),
+ )
def test_make_packet_version_request(self):
self.assertEqual(
- b'\x02\x09\x03\x05\x0d\x02\x03\x08\x9f',
- otultraeasy._make_packet(
- b'\x05\x0d\x02', True, True, False, False))
+ b"\x02\x09\x03\x05\x0d\x02\x03\x08\x9f",
+ otultraeasy._make_packet(b"\x05\x0d\x02", True, True, False, False),
+ )