]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/hid: sync the python tests to hid-tools 0.8
authorBenjamin Tissoires <bentiss@kernel.org>
Wed, 9 Jul 2025 09:08:50 +0000 (11:08 +0200)
committerBenjamin Tissoires <bentiss@kernel.org>
Thu, 10 Jul 2025 14:20:27 +0000 (16:20 +0200)
commit642f9b2d608cc2239d22957ca1dc557d07470b50
tree8f1b1652763d9168882fd73f32d738b0faaa4141
parentc85a8cb9b8d3a3dd9bb12879b28fc377dd24272b
selftests/hid: sync the python tests to hid-tools 0.8

Instead of backporting one by one each commits, let's pull them in bulk
and refer to the hid-tools project for a detailed history.

The short summary is:
- make use of dataclass when possible, to avoid tuples
- wacom: remove unused uhdev parameter
- various small fixes not worth mentioning

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Link: https://patch.msgid.link/20250709-wip-fix-ci-v1-2-b7df4c271cf8@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
tools/testing/selftests/hid/tests/base.py
tools/testing/selftests/hid/tests/base_device.py
tools/testing/selftests/hid/tests/test_apple_keyboard.py
tools/testing/selftests/hid/tests/test_gamepad.py
tools/testing/selftests/hid/tests/test_ite_keyboard.py
tools/testing/selftests/hid/tests/test_multitouch.py
tools/testing/selftests/hid/tests/test_sony.py
tools/testing/selftests/hid/tests/test_tablet.py
tools/testing/selftests/hid/tests/test_wacom_generic.py