Setup a python test framework
This commit is contained in:
parent
4d339b7b5d
commit
5b7a5b2a76
15 changed files with 130 additions and 11 deletions
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'
|
Loading…
Add table
Add a link
Reference in a new issue