~ruther/qmk_firmware

ref: b9834744d97f4e1cf338b504156ce187a7e6cfba qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
b9834744 — QMK Bot Merge remote-tracking branch 'origin/master' into develop a year 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