diff options
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 58416ea..1beffc6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1,4 @@ +import os import sys from typing import Callable import pytest @@ -7,6 +8,11 @@ from pyssg.arg_parser import get_parser from pyssg.custom_logger import setup_logger +@pytest.fixture +def test_dir(): + return os.path.dirname(os.path.abspath(__file__)) + + @pytest.fixture(scope='session') def arg_parser(): return get_parser() |