wip
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user