Coverage for tests/conftest.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-02-11 20:12 +0100

1import sys 

2import os 

3 

4# NOTE: this is a tempory solution, when this project is more mature 

5# we will rather use pip install -e 

6 

7# Get the project root directory 

8PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) 

9 

10# Append project root to sys.path 

11sys.path.insert(0, PROJECT_ROOT)