trygithubactions / tests /test_context_analysis.py
subashpoudel's picture
Fixed test cases
4d20a7d
from fastapi.testclient import TestClient
from api.main import app
client = TestClient(app)
def test_context_analysis():
payload = {
"message": "Hello"
}
response = client.post("/api/context-analysis", json=payload)
assert response.status_code == 200