agent-flow / src /backend /tests /unit /api /v1 /test_starter_projects.py
Tai Truong
fix readme
d202ada
raw
history blame contribute delete
372 Bytes
from fastapi import status
from httpx import AsyncClient
async def test_get_starter_projects(client: AsyncClient, logged_in_headers):
response = await client.get("api/v1/starter-projects/", headers=logged_in_headers)
result = response.json()
assert response.status_code == status.HTTP_200_OK
assert isinstance(result, list), "The result must be a list"