Skip to content

Commit 881473f

Browse files
test: add pytest config
1 parent aa326c4 commit 881473f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/conftest.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import sys
2+
from pathlib import Path
3+
4+
# ../app
5+
app_path = Path(__file__).resolve().parents[1] / 'app'
6+
7+
# Add the app directory to the sys.path
8+
sys.path.insert(0, str(app_path))
9+
10+
# Set the path for groups.csv
11+
groups_csv_path = str(app_path / 'groups.csv')

0 commit comments

Comments
 (0)