test_qmk_errors.py (216B)
- from qmk.errors import NoSuchKeyboardError
- def test_nosuchkeyboarderror():
- try:
- raise NoSuchKeyboardError("test message")
- except NoSuchKeyboardError as e:
- assert e.message == 'test message'
git clone https://anongit.hacktivis.me/git/qmk_firmware.git
test_qmk_errors.py (216B)
- from qmk.errors import NoSuchKeyboardError
- def test_nosuchkeyboarderror():
- try:
- raise NoSuchKeyboardError("test message")
- except NoSuchKeyboardError as e:
- assert e.message == 'test message'