File size: 277 Bytes
4a45dbd
 
 
 
 
 
 
 
 
 
 
4d20a7d
1
2
3
4
5
6
7
8
9
10
11
12
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