12 lines
315 B
Python
12 lines
315 B
Python
from __future__ import annotations
|
|
|
|
import pytest
|
|
from httpx import AsyncClient
|
|
|
|
|
|
@pytest.mark.asyncio
|
|
async def test_get_public_plans_catalog(async_client: AsyncClient) -> None:
|
|
response = await async_client.get("/api/plans")
|
|
assert response.status_code == 200
|
|
assert isinstance(response.json(), list)
|