pydase/tests/conftest.py
2024-07-30 08:28:07 +02:00

12 lines
181 B
Python

import logging
import pytest
@pytest.fixture
def caplog(caplog: pytest.LogCaptureFixture):
logger = logging.getLogger("pydase")
logger.propagate = True
yield caplog