logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

test_qmk_errors.py (216B)


  1. from qmk.errors import NoSuchKeyboardError
  2. def test_nosuchkeyboarderror():
  3. try:
  4. raise NoSuchKeyboardError("test message")
  5. except NoSuchKeyboardError as e:
  6. assert e.message == 'test message'