1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-04 21:15:22 +02:00

chore: bump aiofiles, dotenv, fastapi, pydantic, uvicorn (#1944)

* update aiofiles and dotenv

* bump fastapi and pydantic

* update testclient

* bump ruff and uvicorn
This commit is contained in:
Hayden 2022-12-30 12:44:54 -08:00 committed by GitHub
parent 28cdd485f3
commit d9c39cc1d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 345 additions and 188 deletions

View file

@ -6,7 +6,7 @@ from tests.utils import api_routes
def login(form_data, api_client: TestClient):
response = api_client.post(api_routes.auth_token, form_data)
response = api_client.post(api_routes.auth_token, data=form_data)
assert response.status_code == 200
token = json.loads(response.text).get("access_token")
return {"Authorization": f"Bearer {token}"}