~ruther/qmk_firmware

ref: f41bc8ce20da5efb29a80bfaa708f8be06f7f2c9 qmk_firmware/lib/python/qmk/tests/test_qmk_errors.py -rw-r--r-- 216 bytes
f41bc8ce — Nick Brassel bootmagic mods covering the case when swapped mods are pressed at the same time (#21320) (#21472) 1 year, 11 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