~ruther/qmk_firmware

ref: c9e19fe6fc56e4377f43d8f56fc49797b5f4b127 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
c9e19fe6 — James Young KeebsForAll Freebird Numpad Pro: fix Configurator key positioning (#16303) 3 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'