diff --git a/tests/integration/features/conftest.py b/tests/integration/features/conftest.py index ec57d183c..6f2a84ca7 100644 --- a/tests/integration/features/conftest.py +++ b/tests/integration/features/conftest.py @@ -217,7 +217,6 @@ def fill_clipboard(qtbot, qapp, httpbin, what, content): _wait_for_clipboard(qtbot, qapp.clipboard(), mode, content) - @bdd.when(bdd.parsers.re(r'I put the following lines into the ' r'(?Pprimary selection|clipboard):\n' r'(?P.+)$', flags=re.DOTALL)) diff --git a/tests/integration/quteprocess.py b/tests/integration/quteprocess.py index 29a1f0e41..1670e3190 100644 --- a/tests/integration/quteprocess.py +++ b/tests/integration/quteprocess.py @@ -240,9 +240,9 @@ class QuteProc(testprocess.Process): # 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')) + 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 def _maybe_skip(self):