~ruther/qmk_firmware

ref: 1ce5cf480c777e7060eb20828b57f959e901c750 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
1ce5cf48 — Arturo Avila [Keyboard] Add the Mine Keyboard (#21211) 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'