~ruther/qmk_firmware

ref: a6bf2cae22f8be6f15a5b4c80e18c8ecf7b1fcca qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
a6bf2cae — Ramon Imbao [Keyboard] Add Plywrks ply8x (#21263) 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'