def test_qt_log_ignore(qtbot, quteproc):
 with qtbot.waitSignal(quteproc.got_error):
  quteproc.send_cmd(':message-error "SpellCheck: test"')

def test_qt_log_ignore ( qtbot , quteproc ) : with qtbot . waitSignal ( quteproc . got_error ) : quteproc . send_cmd ( ':message-error "SpellCheck: test"' )
make sure the test passes when logging a qt_log_ignore message .