~ruther/qmk_firmware

ref: 38d6e9a75a4cff4ae5bd32209fc0cecb83c6f23b qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
38d6e9a7 — ploopyco Add Ploopy Madromys mouse (#21989) 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'