trygithubactions / tests /test_ideation.py
subashpoudel's picture
Standardized test codes
4a45dbd
raw
history blame
233 Bytes
from fastapi.testclient import TestClient
from api.main import app
client = TestClient(app)
def test_ideation():
response = client.post("/api/ideation", json={})
print(response.json())
assert response.status_code == 200