summaryrefslogtreecommitdiff
path: root/lib/python/qmk/tests/test_qmk_errors.py
blob: 3f6b567137c14b4879a2bfd107aba9c3ea40580d (plain)
1
2
3
4
5
6
7
from qmk.errors import NoSuchKeyboardError

def test_NoSuchKeyboardError():
    try:
        raise(NoSuchKeyboardError("test message"))
    except NoSuchKeyboardError as e:
        assert e.message == 'test message'