~ruther/qmk_firmware

ref: c035a37249ed064edbd51379bb45057e88e7ef11 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
c035a372 — dependabot[bot] Bump tj-actions/changed-files from 43 to 44 (#23369) 1 year, 7 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'