From 09644414b56c2def7a4db825f1ff2f0ca715f6e9 Mon Sep 17 00:00:00 2001 From: Unrud Date: Tue, 21 Aug 2018 18:43:44 +0200 Subject: [PATCH] set logging level to DEBUG for tests --- radicale/tests/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radicale/tests/__init__.py b/radicale/tests/__init__.py index fc981c6..36ce10b 100644 --- a/radicale/tests/__init__.py +++ b/radicale/tests/__init__.py @@ -19,12 +19,16 @@ Tests for Radicale. """ +import logging import os +import radicale import sys from io import BytesIO # Allow importing of tests.custom.... sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) +# Enable debug output +radicale.log.logger.setLevel(logging.DEBUG) class BaseTest: