trygithubactions / tests /test_analytics.py
subashpoudel's picture
Implemented the analytics too in orchestrator
8ce97f0
from fastapi.testclient import TestClient
from api.main import app
client = TestClient(app)
def test_analytics():
response = client.get("/api/show-analytics")
print(response.json())
assert response.status_code == 200