diff --git a/tests/integration/quteprocess.py b/tests/integration/quteprocess.py index 5b9fb3281..191730e98 100644 --- a/tests/integration/quteprocess.py +++ b/tests/integration/quteprocess.py @@ -264,12 +264,12 @@ class QuteProc(testprocess.Process): testutils.pattern_match(pattern='[*] [FAIL] *', value=msg.message)) # Try to complain about the most common mistake when accidentally - # loading external resources. A fuzzy_url line gets logged when - # initializing settings though, so ignore those. - is_ddg_page = ( - 'duckduckgo' in msg.message and not (msg.module == 'urlutils' and - msg.function == 'fuzzy_url')) - return msg.loglevel > logging.INFO or is_js_error or is_ddg_page + # loading external resources. + is_ddg_load = testutils.pattern_match( + pattern="load status for : *", + value=msg.message) + return msg.loglevel > logging.INFO or is_js_error or is_ddg_load def _maybe_skip(self): """Skip the test if [SKIP] lines were logged."""