mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-24 20:32:58 +00:00
9 lines
216 B
Python
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'
|