agent-flow / src /backend /tests /unit /api /v1 /test_starter_projects.py
truthtaicom's picture
Upload folder using huggingface_hub
4b0794d verified
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"