Skip to content

Commit dcc7eec

Browse files
committed
Adjust path in makefile
1 parent f421d48 commit dcc7eec

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ install:
33
pip install -r requirements.txt
44

55
test:
6-
pytest -v
6+
PYTHONPATH=. pytest -v
77

88
format:
99
black **/*.py

tests/test_setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
from fastapi.testclient import TestClient
33
from app.serve import app
44

5-
import sys, os
6-
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
7-
85
# Initialize test client
96
client = TestClient(app)
107

0 commit comments

Comments
 (0)