adding new sample py
All checks were successful
Integration Test / Platform Conformance (pull_request) Successful in 4s
Integration Test / Unit Tests + Container Smoke (workflow_dispatch) All checks passed
Build and Push to ACR / Build and Push (push) Successful in 46s
Integration Test / Unit Tests + Container Smoke (pull_request) Successful in 42s
SonarQube Analysis / Build, Test & Analyse (pull_request) Successful in 3m49s

This commit is contained in:
2026-05-07 16:39:15 +00:00
parent 8a5e92a530
commit 5d4d90c17c

9
app/test_main.py Normal file
View File

@@ -0,0 +1,9 @@
from fastapi.testclient import TestClient
from app.main import app
client = TestClient(app)
def test_health():
response = client.get("/health")
assert response.status_code == 200