Files
jacobh2 b763aa1e9d
Build Backend / build (push) Successful in 1m54s
Small cleanup
2026-06-04 09:18:22 +02:00

13 lines
293 B
Python

import asyncio
from httpx import AsyncClient, ASGITransport
from fastapi import FastAPI
app = FastAPI()
async def test():
async with AsyncClient(transport=ASGITransport(app=app), base_url='http://test') as ac:
print('Success')
if __name__ == '__main__':
asyncio.run(test())