1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py
2019-09-07 07:58:41 -07: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'