from fastapi.testclient import TestClient from api.main import app client = TestClient(app) def test_ideation(): payload = { "scores": { "originality": 0.8, "fluecy": 0.6, "flexibility": 0.7, "feasibility": 0.9, "practical_value": 0.75, "surprise_factor": 0.4, "combinatorial_novelty": 0.65, "scalabality": 0.85, "cultural_freshness": 0.55, "alignment_with_business_details": 0.95 } } response = client.post("/api/ideation", json=payload) print(response.json()) assert response.status_code == 200