parent
926c87c0e2
commit
eb57023bde
@ -1,7 +1,8 @@
|
|||||||
from qmk.errors import NoSuchKeyboardError
|
from qmk.errors import NoSuchKeyboardError
|
||||||
|
|
||||||
|
|
||||||
def test_NoSuchKeyboardError():
|
def test_NoSuchKeyboardError():
|
||||||
try:
|
try:
|
||||||
raise(NoSuchKeyboardError("test message"))
|
raise NoSuchKeyboardError("test message")
|
||||||
except NoSuchKeyboardError as e:
|
except NoSuchKeyboardError as e:
|
||||||
assert e.message == 'test message'
|
assert e.message == 'test message'
|
||||||
|
Loading…
Reference in new issue