diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-02-19 23:36:04 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-02-19 23:36:04 -0600 |
commit | f2ab2bac6b26f82730d5f5d7ab1e6d5f2f1060e3 (patch) | |
tree | 88a1ce15061cd7a9cee00941bc9ff3c39e09ab5e /tests/conftest.py | |
parent | e28fbb181851ca16bc0ade9c371628f86c25adbc (diff) |
add yaml_parser tests, small refactor
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() |