aboutsummaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/tests/test_qmk_errors.py
blob: 948e7ef7413f2be6a022e22a90b77f2d6395ee39 (plain) (blame)
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'