summaryrefslogtreecommitdiff
path: root/lib/python/qmk/tests/test_qmk_errors.py
blob: 1d8690b7efc55764709c9383aafb23ca51f9a77e (plain)
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'