Spaces:
Sleeping
Sleeping
File size: 296 Bytes
4a45dbd 8ce97f0 4a45dbd |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from fastapi.testclient import TestClient
from api.main import app
client = TestClient(app)
def test_orchestrator():
payload = {
"message":"Hello"
}
response = client.post("/api/orchestration", json=payload)
print(response.json())
assert response.status_code == 200 |