Make stubbed methods fail tests again

Only some caret browsing stuff and a few webelement methods are stubbed out now.
Make them fail tests so we notice when we use a stub.
This commit is contained in:
Florian Bruhin 2017-03-01 17:43:33 +01:00
parent 03f1e0913d
commit b4af966167

View File

@ -366,8 +366,7 @@ class QuteProc(testprocess.Process):
pattern="load status for <* tab_id=* url='*duckduckgo*'>: *",
value=msg.message)
is_log_error = (msg.loglevel > logging.INFO and
not msg.message.startswith('STUB:'))
is_log_error = msg.loglevel > logging.INFO
return is_log_error or is_js_error or is_ddg_load
def _maybe_skip(self):