summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-04-05 23:05:03 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-04-05 23:05:03 +0200
commit98da67632cc014e64a2f6a4ae6b5d7ca4fd21ac0 (patch)
tree29ede567fb85277fa9971493761391aee3b6a3b2
parenteb6f1cf9898cb431af9d2812ec40f811e37f57f0 (diff)
downloadqutebrowser-98da67632cc014e64a2f6a4ae6b5d7ca4fd21ac0.tar.gz
qutebrowser-98da67632cc014e64a2f6a4ae6b5d7ca4fd21ac0.zip
Fix elf tests
-rw-r--r--tests/unit/misc/test_elf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit/misc/test_elf.py b/tests/unit/misc/test_elf.py
index d5d5b0ac5..86060bbde 100644
--- a/tests/unit/misc/test_elf.py
+++ b/tests/unit/misc/test_elf.py
@@ -63,8 +63,9 @@ def test_result(qapp, caplog):
assert versions is not None
# No failing mmap
- assert len(caplog.messages) == 1
- assert caplog.messages[0].startswith('Got versions from ELF:')
+ assert len(caplog.messages) == 2
+ assert caplog.messages[0].startswith('QtWebEngine .so found at')
+ assert caplog.messages[1].startswith('Got versions from ELF:')
from qutebrowser.browser.webengine import webenginesettings
webenginesettings.init_user_agent()