~ruther/qmk_firmware

ref: d5ac75385bcff564d7f22a5c419dca2b61eb7ef0 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
d5ac7538 — Nick Brassel Fix up scanning for Djinn, post-asyncUSB. (#23188) 1 year, 9 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'