summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-12-30 16:02:23 +0100
committerFlorian Bruhin <me@the-compiler.org>2020-12-30 16:02:23 +0100
commit7a048f5cd8edf376434aa5d11461982b5ae50dcb (patch)
tree5c4328f2131d9211393081fa4a07ded8007c86fe
parentefa8916faaaf6c6e7ffdb2bf8affabba8e7b753f (diff)
downloadqutebrowser-7a048f5cd8edf376434aa5d11461982b5ae50dcb.tar.gz
qutebrowser-7a048f5cd8edf376434aa5d11461982b5ae50dcb.zip
tests: Handle ERR_FILE_NOT_FOUND for test_open_command_line_with_ascii_locale
-rw-r--r--tests/end2end/test_invocations.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py
index 74805cec2..1d2f79a1a 100644
--- a/tests/end2end/test_invocations.py
+++ b/tests/end2end/test_invocations.py
@@ -170,6 +170,10 @@ def test_open_command_line_with_ascii_locale(request, server, tmpdir,
quteproc_new.wait_for(message="load status for <* tab_id=* "
"url='*/f*.html'>: LoadStatus.error")
+ if request.config.webengine:
+ line = quteproc_new.wait_for(message="Load error: ERR_FILE_NOT_FOUND")
+ line.expected = True
+
@pytest.mark.linux
def test_misconfigured_user_dirs(request, server, temp_basedir_env,