We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb44fd commit f421d48Copy full SHA for f421d48
app/serve.py
@@ -3,8 +3,6 @@
3
import time
4
import logging
5
6
-import sys, os
7
-sys.path.append(os.path.dirname(os.path.dirname(__file__)))
8
9
10
# -----------------------------
tests/test_setup.py
@@ -2,6 +2,9 @@
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)
0 commit comments