doi2dataset/tests/conftest.py
Alexander Minges eb270cba9b
All checks were successful
Test pipeline / test (push) Successful in 12s
Update testing documentation and improve test structure
2025-05-20 15:17:18 +02:00

8 lines
No EOL
216 B
Python

import os
import sys
# Get the path to the parent directory of tests
parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
# Add the parent directory to sys.path
sys.path.insert(0, parent_dir)