summaryrefslogtreecommitdiff
path: root/dev-python/evdev/files/evdev-1.8.0-test.patch
blob: aa155da3398aee5af53e75bc7378cc64722d0d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 27eb2ff11bb6b41fa0cfcff4f80d6c26d4b65742 Mon Sep 17 00:00:00 2001
From: Georgi Valkov <georgi.t.valkov@gmail.com>
Date: Sat, 25 Jan 2025 18:04:39 +0100
Subject: [PATCH 1/2] Fix tests

---
 tests/test_util.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_util.py b/tests/test_util.py
index 5a979df..7112927 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -6,7 +6,7 @@ def test_match_ecodes_a():
     assert res == {1: [372, 418, 419, 420]}
     assert dict(util.resolve_ecodes_dict(res)) == {
         ("EV_KEY", 1): [
-            (["KEY_FULL_SCREEN", "KEY_ZOOM"], 372),
+            (("KEY_FULL_SCREEN", "KEY_ZOOM"), 372),
             ("KEY_ZOOMIN", 418),
             ("KEY_ZOOMOUT", 419),
             ("KEY_ZOOMRESET", 420),