trygithubactions / tests /test_human_idea_refinement.py
subashpoudel's picture
Standardized test codes
4a45dbd
raw
history blame
371 Bytes
from fastapi.testclient import TestClient
from api.main import app
client = TestClient(app)
def test_human_refining_ideation():
payload = {
"query": "Combine ideas 1 and 2",
"thread_id":"refine_ideas_thread"
}
response = client.post("/api/human-idea-refining", json=payload)
print(response.json())
assert response.status_code == 200