From f8b781b3e7242bdb924ad62d698c92a7c6240547 Mon Sep 17 00:00:00 2001 From: creyD Date: Wed, 11 Dec 2024 16:15:33 +0000 Subject: [PATCH] Adjusted files for isort & autopep --- creyPY/fastapi/testing_async.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/creyPY/fastapi/testing_async.py b/creyPY/fastapi/testing_async.py index d4a744d..b61a6fd 100644 --- a/creyPY/fastapi/testing_async.py +++ b/creyPY/fastapi/testing_async.py @@ -3,8 +3,10 @@ from httpx import ASGITransport, AsyncClient class AsyncGenericClient: - def __init__(self, app, headers = {}): - self.c = AsyncClient(transport=ASGITransport(app=app), base_url="http://testserver", follow_redirects=True) + def __init__(self, app, headers={}): + self.c = AsyncClient( + transport=ASGITransport(app=app), base_url="http://testserver", follow_redirects=True + ) self.default_headers = headers async def get(self, url: str, r_code: int = 200, parse_json=True):