Implemented logging configuration
This commit is contained in:
+1
-3
@@ -1,12 +1,10 @@
|
||||
from fastapi.testclient import TestClient
|
||||
from app.main import app
|
||||
import sys
|
||||
import os
|
||||
|
||||
# Add the 'app' folder to the sys.path
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
||||
|
||||
from app.main import app # Now this should work correctly
|
||||
from app.main import app
|
||||
|
||||
client = TestClient(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user