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
9 lines
193 B
Python
9 lines
193 B
Python
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
|
|
|