~ruther/qmk_firmware

ref: 57c5f3e6743789d8aeb4fb8a45a13e04ff8de31d qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
57c5f3e6 — James Young poker87d: correct layout data (#21159) 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'