update login

This commit is contained in:
2025-11-28 16:07:59 -03:00
parent 2b0efc654a
commit c71e19eacb
14 changed files with 251 additions and 16 deletions

View File

@@ -0,0 +1,21 @@
from http import HTTPMethod, HTTPStatus
from ...conftest import HttpApiProxy, LambdaContext
def test_password(
app,
seeds,
http_api_proxy: HttpApiProxy,
lambda_context: LambdaContext,
):
r = app.lambda_handler(
http_api_proxy(
raw_path='/users/15bacf02-1535-4bee-9022-19d106fd7518/password',
method=HTTPMethod.POST,
body={'new_password': '123@56'},
),
lambda_context,
)
assert r['statusCode'] == HTTPStatus.NO_CONTENT