From 2efc642f029fee9a5cf0640a766acd3cdf633eba Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 29 Jun 2023 20:38:30 +0200 Subject: tileproxy: use caplog in the test See if it works, it might be handy for other tests in the future as well. --- tests/conftest.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/conftest.py') diff --git a/tests/conftest.py b/tests/conftest.py index d4394cd..a4366ab 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1,4 @@ +import logging import os import shutil from pathlib import Path @@ -75,6 +76,7 @@ def _cleanup_data(app_settings): @pytest.fixture(scope='session') def app(app_settings, dbengine, tmp_path_factory): app_settings["fietsboek.data_dir"] = str(tmp_path_factory.mktemp("data")) + logging.getLogger().setLevel(logging.DEBUG) return main({}, dbengine=dbengine, **app_settings) @pytest.fixture -- cgit v1.2.3