From e72b02d84e7f67cdf6107862ad580e951a5bbda1 Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 21 Feb 2020 10:45:40 +0100 Subject: format code with black --- test/test_freestyle.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'test/test_freestyle.py') diff --git a/test/test_freestyle.py b/test/test_freestyle.py index 0ff669d..fb3f3b9 100644 --- a/test/test_freestyle.py +++ b/test/test_freestyle.py @@ -6,18 +6,17 @@ # pylint: disable=protected-access,missing-docstring from absl.testing import absltest - from glucometerutils.support import freestyle class TestFreeStyle(absltest.TestCase): - def test_outgoing_command(self): """Test the generation of a new outgoing message.""" self.assertEqual( - b'\0\x17\7command\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0' - b'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0', + b"\0\x17\7command\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + b"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", freestyle._FREESTYLE_MESSAGE.build( - {'message_type': 23, 'command': b'command'}), + {"message_type": 23, "command": b"command"} + ), ) -- cgit v1.2.3