(fix) azure+cf gateway, health check

This commit is contained in:
ishaan-jaff 2024-01-04 12:33:53 +05:30
parent b0827a87b2
commit 234c057e97
3 changed files with 31 additions and 10 deletions

View file

@ -45,7 +45,7 @@ def client_no_auth():
filepath = os.path.dirname(os.path.abspath(__file__))
config_fp = f"{filepath}/test_configs/test_config_no_auth.yaml"
# initialize can get run in parallel, it sets specific variables for the fast api app, sinc eit gets run in parallel different tests use the wrong variables
initialize(config=config_fp)
initialize(config=config_fp, debug=True)
app = FastAPI()
app.include_router(router) # Include your router in the test app