~ruther/qmk_firmware

ref: bfdfeb6f3fa1a0fc08d75702f6b0fdbcc850063e qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
bfdfeb6f — FanXingStudio [Keyboard] Add kibou/winter (#21161) 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'