~ruther/qmk_firmware

ref: afafce0a5e858efbc693df4636685eccab2f4968 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
afafce0a — Veriyans [Keyboard] Add Macropad 15Pad (#23257) 1 year, 1 month 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