~ruther/qmk_firmware

ref: c133bd1234ffe53606ccec4314ff43f9b4583512 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
c133bd12 — Brian Choromanski Removed clueboard link as the website has been parked for some time (#22290) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
from qmk.errors import NoSuchKeyboardError


def test_nosuchkeyboarderror():
    try:
        raise NoSuchKeyboardError("test message")
    except NoSuchKeyboardError as e:
        assert e.message == 'test message'