We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f421d48 commit dcc7eecCopy full SHA for dcc7eec
Makefile
@@ -3,7 +3,7 @@ install:
3
pip install -r requirements.txt
4
5
test:
6
- pytest -v
+ PYTHONPATH=. pytest -v
7
8
format:
9
black **/*.py
tests/test_setup.py
@@ -2,9 +2,6 @@
2
from fastapi.testclient import TestClient
from app.serve import app
-import sys, os
-sys.path.append(os.path.dirname(os.path.dirname(__file__)))
-
# Initialize test client
client = TestClient(app)
10
0 commit comments