~ruther/qmk_firmware

ref: 5485d5023eae4653805d1acb481cf438ff8a80e0 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
5485d502 — yuezp Add the Split67 keyboard PCB (#22107) 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'