diff --git a/pytest_logger/plugin.py b/pytest_logger/plugin.py index cdf6216..247f95e 100644 --- a/pytest_logger/plugin.py +++ b/pytest_logger/plugin.py @@ -318,6 +318,7 @@ def format(self, record): @pytest.fixture def logdir(request): + """ Return a path to log directory for the test function """ return _make_logdir(request._pyfuncitem)