summaryrefslogtreecommitdiffstats
path: root/freestyle_hid/tests/test_freestyle.py
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2023-08-03 01:38:53 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-08-03 10:59:53 +0200
commit4d3c59f2b5bf1e3afc620b12370be16db36a3688 (patch)
tree3a6143aa4b8d07fe9fa845f242392c1138d6ad8a /freestyle_hid/tests/test_freestyle.py
parentDon't depend on product ID to enable encrypted protocol. (diff)
downloadfreestyle-hid-4d3c59f2b5bf1e3afc620b12370be16db36a3688.tar
freestyle-hid-4d3c59f2b5bf1e3afc620b12370be16db36a3688.tar.gz
freestyle-hid-4d3c59f2b5bf1e3afc620b12370be16db36a3688.tar.bz2
freestyle-hid-4d3c59f2b5bf1e3afc620b12370be16db36a3688.tar.lz
freestyle-hid-4d3c59f2b5bf1e3afc620b12370be16db36a3688.tar.xz
freestyle-hid-4d3c59f2b5bf1e3afc620b12370be16db36a3688.tar.zst
freestyle-hid-4d3c59f2b5bf1e3afc620b12370be16db36a3688.zip
Diffstat (limited to '')
-rw-r--r--freestyle_hid/tests/test_freestyle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/freestyle_hid/tests/test_freestyle.py b/freestyle_hid/tests/test_freestyle.py
index feb7c15..ebf6b80 100644
--- a/freestyle_hid/tests/test_freestyle.py
+++ b/freestyle_hid/tests/test_freestyle.py
@@ -14,9 +14,9 @@ class TestFreeStyle(unittest.TestCase):
"""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"\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",
_session._FREESTYLE_MESSAGE.build(
- {"message_type": 23, "command": b"command"}
+ {"message_type": 23, "command": b"command", "mac": 0}
),
)