import pytest from httpx import AsyncClient @pytest.mark.asyncio async def test_get_equipment_masters(client: AsyncClient): response = await client.get("/equipment-master") assert response.status_code == 200 assert response.json()["message"] == "Data retrieved successfully"