keysyms: Introduce tests for this package
This commit is contained in:
committed by
Peter F. Patel-Schneider
parent
b681aafaff
commit
65d3b406c0
0
tests/test_keysyms/__init__.py
Normal file
0
tests/test_keysyms/__init__.py
Normal file
9
tests/test_keysyms/test_keysymdef.py
Normal file
9
tests/test_keysyms/test_keysymdef.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from keysyms import keysymdef
|
||||
|
||||
|
||||
def test_keysymdef():
|
||||
key_mapping = keysymdef.key_symbols
|
||||
|
||||
assert key_mapping["0"] == 48
|
||||
assert key_mapping["A"] == 65
|
||||
assert key_mapping["a"] == 97
|
||||
Reference in New Issue
Block a user