add reset password
This commit is contained in:
@@ -14,7 +14,7 @@ from ..conftest import HttpApiProxy, LambdaContext
|
||||
YEAR_DAYS = 365
|
||||
|
||||
|
||||
def test_get_course(
|
||||
def test_get_courses(
|
||||
mock_app,
|
||||
dynamodb_seeds,
|
||||
http_api_proxy: HttpApiProxy,
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
import json
|
||||
from http import HTTPMethod, HTTPStatus
|
||||
|
||||
from layercake.dynamodb import (
|
||||
DynamoDBCollection,
|
||||
DynamoDBPersistenceLayer,
|
||||
KeyPair,
|
||||
)
|
||||
from layercake.dynamodb import DynamoDBCollection, DynamoDBPersistenceLayer, KeyPair
|
||||
|
||||
from ..conftest import HttpApiProxy, LambdaContext
|
||||
|
||||
@@ -32,7 +28,7 @@ def test_get_policies(
|
||||
}
|
||||
|
||||
|
||||
def test_put_org(
|
||||
def test_put_policies(
|
||||
mock_app,
|
||||
dynamodb_seeds,
|
||||
dynamodb_persistence_layer: DynamoDBPersistenceLayer,
|
||||
@@ -44,7 +40,7 @@ def test_put_org(
|
||||
raw_path='/orgs/cJtK9SsnJhKPyxESe7g3DG/policies',
|
||||
method=HTTPMethod.PUT,
|
||||
headers={'X-Tenant': '*'},
|
||||
body={},
|
||||
body={'payment_policy': None},
|
||||
),
|
||||
lambda_context,
|
||||
)
|
||||
|
||||
@@ -31,7 +31,16 @@ def test_get_emails(
|
||||
'id': '5OxmMjL-ujoR5IMGegQz',
|
||||
'create_date': '2019-03-25T00:00:00-03:00',
|
||||
'update_date': '2023-11-09T12:13:04.308986-03:00',
|
||||
}
|
||||
},
|
||||
{
|
||||
'email_verified': True,
|
||||
'mx_record_exists': True,
|
||||
'sk': 'osergiosiqueira@gmail.com',
|
||||
'email_primary': False,
|
||||
'id': '5OxmMjL-ujoR5IMGegQz',
|
||||
'create_date': '2019-03-25T00:00:00-03:00',
|
||||
'update_date': '2023-11-09T12:13:04.308986-03:00',
|
||||
},
|
||||
],
|
||||
'last_key': None,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user