~ruther/qmk_firmware

ref: 4a10d45422edaff16e9b96aa7a250ab578a8f9a4 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
4a10d454 — Andre Brait [Keymap] Update andrebrait keymap for GMMK Pro (#21133) 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'