summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-06-23 16:19:54 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-06-23 16:19:54 +0200
commit10ce807e1a862ce9969f1f904346105b3d69f8ad (patch)
tree1dd2b07c05b2077e16e9c2031fd548df0be97140
parente1c776ad90fb2e848032601ca346037b50d4120a (diff)
downloadqutebrowser-10ce807e1a862ce9969f1f904346105b3d69f8ad.tar.gz
qutebrowser-10ce807e1a862ce9969f1f904346105b3d69f8ad.zip
Fix test_version
Needs re.MULTILINE because of the qutebrowser ASCII art logo...
-rw-r--r--tests/end2end/test_invocations.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py
index b4a343a37..a4ac654f4 100644
--- a/tests/end2end/test_invocations.py
+++ b/tests/end2end/test_invocations.py
@@ -248,7 +248,8 @@ def test_version(request):
assert ok
assert proc.exitStatus() == QProcess.NormalExit
- assert re.search(r'^qutebrowser\s+v\d+(\.\d+)', stdout) is not None
+ match = re.search(r'^qutebrowser\s+v\d+(\.\d+)', stdout, re.MULTILINE)
+ assert match is not None
def test_qt_arg(request, quteproc_new, tmpdir):