# -*- coding: utf-8 -*-
'''
General-purpose fixtures for vdirsyncer's testsuite.
'''
import click_log

import pytest


@pytest.fixture(autouse=True)
def setup_logging():
    click_log.basic_config('vdirsyncer')


try:
    import pytest_benchmark
except ImportError:
    @pytest.fixture
    def benchmark():
        return lambda x: x()
else:
    del pytest_benchmark

@@ -78,16 +78,32 @@
 te.%0A'''%0A
+import logging%0A%0A
 import c
@@ -219,16 +219,40 @@
 syncer')
+.setLevel(logging.DEBUG)
 %0A%0A%0Atry:%0A

Fix logging