Setup a python test framework
This commit is contained in:
7
lib/python/qmk/tests/test_qmk_errors.py
Normal file
7
lib/python/qmk/tests/test_qmk_errors.py
Normal file
@ -0,0 +1,7 @@
|
||||
from qmk.errors import NoSuchKeyboardError
|
||||
|
||||
def test_NoSuchKeyboardError():
|
||||
try:
|
||||
raise(NoSuchKeyboardError("test message"))
|
||||
except NoSuchKeyboardError as e:
|
||||
assert e.message == 'test message'
|
Reference in New Issue
Block a user