summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Albrecht <philipp.albrecht@momox.biz>2021-11-05 14:50:18 +0100
committerPhilipp Albrecht <philipp.albrecht@momox.biz>2021-11-05 15:33:53 +0100
commit572ecd7fb1fa4463032d0dc00213ecafe2224d01 (patch)
tree92880e7927e5e52525b79aaa640501bec4cb8495
parent53a1d45dd3b8eaa02dc848a8bd2d58db20d98ff6 (diff)
downloadqutebrowser-572ecd7fb1fa4463032d0dc00213ecafe2224d01.tar.gz
qutebrowser-572ecd7fb1fa4463032d0dc00213ecafe2224d01.zip
Report backend in pytest_report_header()
-rw-r--r--tests/conftest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index cc6cb970f..beab14a52 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -237,6 +237,10 @@ def pytest_configure(config):
earlyinit.configure_pyqt()
+def pytest_report_header(config):
+ return f'backend: {config.backend}'
+
+
@pytest.fixture(scope='session', autouse=True)
def check_display(request):
if utils.is_linux and not os.environ.get('DISPLAY', ''):