Files
qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py
2020-01-09 08:57:11 +09:00

9 lines
216 B
Python

from qmk.errors import NoSuchKeyboardError
def test_nosuchkeyboarderror():
try:
raise NoSuchKeyboardError("test message")
except NoSuchKeyboardError as e:
assert e.message == 'test message'