Skip to content

Commit 0e57ece

Browse files
committed
feat(tests): add conftest.py for test configuration and path setup
1 parent a48c6ef commit 0e57ece

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/conftest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from __future__ import annotations
2+
3+
import sys
4+
from pathlib import Path
5+
6+
ROOT = Path(__file__).resolve().parents[1]
7+
if str(ROOT) not in sys.path:
8+
sys.path.insert(0, str(ROOT))

0 commit comments

Comments
 (0)