selftests/hid: base: allow for multiple skip_if_uhdev
authorBenjamin Tissoires <bentiss@kernel.org>
Wed, 6 Dec 2023 10:45:54 +0000 (11:45 +0100)
committerBenjamin Tissoires <bentiss@kernel.org>
Thu, 7 Dec 2023 08:52:03 +0000 (09:52 +0100)
commit110292a77f7c8d11eaa472e65f6a2084b25be2db
tree118e6010755eaab2597c252ddfdf29b11a53ad8b
parent46bc0277c2507338d98e166826afec330962309e
selftests/hid: base: allow for multiple skip_if_uhdev

We can actually have multiple occurences of `skip_if_uhdev` if we follow
the information from the pytest doc[0].

This is not immediately used, but can be if we need multiple conditions
on a given test.

[0] https://docs.pytest.org/en/latest/historical-notes.html#update-marker-code

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Jiri Kosina <jkosina@suse.com>
Link: https://lore.kernel.org/r/20231206-wip-selftests-v2-3-c0350c2f5986@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
tools/testing/selftests/hid/tests/base.py