~ruther/qmk_firmware

ref: e6ce481179e8337d34f26f0a1c0ce902c8814702 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
e6ce4811 — James Young Handwired ScottoKeebs Configurator Updates (#21990) 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'