~ruther/qmk_firmware

ref: 0189c485b928f26a5835c7c78fdb397494a9d974 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
0189c485 — Duncan Sutherland studiokestra/line_tkl: correct layout data (#22455) 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'