This commit is contained in:
2025-08-07 22:10:10 -03:00
parent b572291dff
commit 78c4a4ad30
17 changed files with 555 additions and 304 deletions

View File

@@ -1,4 +1,5 @@
from http import HTTPMethod
from urllib.parse import urlencode
from ..conftest import HttpApiProxy, LambdaContext
@@ -18,7 +19,7 @@ def test_html(
lambda_context,
)
print(r)
# print(r)
def test_login(
@@ -34,9 +35,15 @@ def test_login(
headers={
'Content-Type': 'application/x-www-form-urlencoded',
},
body='username=sergio@somosbeta.com.br&password=pytest@123&continue=https://localhost',
body=urlencode(
{
'username': 'sergio@somosbeta.com.br',
'password': 'pytest@123',
'continue': 'http://localhost',
}
),
),
lambda_context,
)
print(r)
# print(r)