~ruther/qmk_firmware

ref: cebe521b11347453156765055b54d81de188f1aa qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
cebe521b — Joel Challis Fix docker_cmd.sh when userspace is not configured (#23997) 1 year, 5 months 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'