~ruther/qmk_firmware

ref: cb9705428bb7e34a07f619a9efeb16c21d5f1e1a qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
cb970542 — Matt Chan Add Kindakeyboards Conone65 Via support (#22320) 1 year, 6 months 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'
Do not follow this link