set logging level to DEBUG for tests

This commit is contained in:
Unrud 2018-08-21 18:43:44 +02:00
parent aec94cc5b3
commit 09644414b5

View File

@ -19,12 +19,16 @@ Tests for Radicale.
""" """
import logging
import os import os
import radicale
import sys import sys
from io import BytesIO from io import BytesIO
# Allow importing of tests.custom.... # Allow importing of tests.custom....
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
# Enable debug output
radicale.log.logger.setLevel(logging.DEBUG)
class BaseTest: class BaseTest: