Setup a python test framework

This commit is contained in:
skullY
2019-08-21 23:40:24 -07:00
committed by Florian Didron
parent b5a5ce043b
commit b4dc878501
15 changed files with 130 additions and 11 deletions

View 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'