~ruther/qmk_firmware

ref: 024b4070c309d8214895affccf52d4e0d00b2b14 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
024b4070 — Nick Brassel Fixup `--no-temp` for `qmk mass-compile`. (#22582) 1 year, 5 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