~ruther/qmk_firmware

ref: 0115951de12bd4c798a43a380651c34552552e85 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
0115951d — Nick Brassel `develop` -> `master`, 2023q4 edition 1 year, 11 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'