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:
parent
03f1e0913d
commit
b4af966167
@ -366,8 +366,7 @@ class QuteProc(testprocess.Process):
|
|||||||
pattern="load status for <* tab_id=* url='*duckduckgo*'>: *",
|
pattern="load status for <* tab_id=* url='*duckduckgo*'>: *",
|
||||||
value=msg.message)
|
value=msg.message)
|
||||||
|
|
||||||
is_log_error = (msg.loglevel > logging.INFO and
|
is_log_error = msg.loglevel > logging.INFO
|
||||||
not msg.message.startswith('STUB:'))
|
|
||||||
return is_log_error or is_js_error or is_ddg_load
|
return is_log_error or is_js_error or is_ddg_load
|
||||||
|
|
||||||
def _maybe_skip(self):
|
def _maybe_skip(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user