From 9e4fab4aaef1a9c02d7577896113af9579699aa3 Mon Sep 17 00:00:00 2001 From: Andrey Pokhilko Date: Tue, 28 Jan 2020 22:00:29 +0300 Subject: [PATCH] Fix tests --- tests/test_peripherals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_peripherals.py b/tests/test_peripherals.py index 126d13a..7309785 100644 --- a/tests/test_peripherals.py +++ b/tests/test_peripherals.py @@ -155,7 +155,7 @@ class PeripheralsTest(unittest.TestCase): hub.connection.notification_delayed('050082030a', 0.1) motor.stop() - self.assertEqual(b"090081031107006403", hub.writes.pop(1)[1]) + self.assertEqual(b"0c0081031109000064647f03", hub.writes.pop(1)[1]) hub.connection.notification_delayed('050082030a', 0.1) motor.set_acc_profile(1.0) @@ -171,7 +171,7 @@ class PeripheralsTest(unittest.TestCase): hub.connection.notification_delayed('050082030a', 0.1) motor.stop() - self.assertEqual(b"090081031107006403", hub.writes.pop(1)[1]) + self.assertEqual(b"0c0081031109000064647f03", hub.writes.pop(1)[1]) logging.debug("\n\n") hub.connection.notification_delayed('0500820301', 0.1)