~ruther/qmk_firmware

ref: 7e27d72cbc9af11b5de3f0c30810a0b95267acee qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
7e27d72c — Sergey Vlasov Fix `qmk find` failure due to circular imports (#22523) 1 year, 6 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'
Do not follow this link