~ruther/qmk_firmware

ref: 66f61ae4cbfca25ed22a8d332c9fb20f1e3e0bfb qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
66f61ae4 — James Young CMM.Studio Fuji65: correct layout data for real this time (#16295) 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'