update block
This commit is contained in:
@@ -15,14 +15,15 @@ def test_get_org(
|
||||
):
|
||||
r = app.lambda_handler(
|
||||
http_api_proxy(
|
||||
raw_path='/orgs/2a8963fc-4694-4fe2-953a-316d1b10f1f5',
|
||||
raw_path='/orgs/7362ce9e-9dad-4483-a28b-fff4034a17a5',
|
||||
method=HTTPMethod.GET,
|
||||
),
|
||||
lambda_context,
|
||||
)
|
||||
body = json.loads(r['body'])
|
||||
|
||||
assert 'subscription_freeze' in body
|
||||
assert 'address' in body
|
||||
assert 'subscription_frozen' in body
|
||||
|
||||
|
||||
def test_add_org(
|
||||
@@ -93,19 +94,3 @@ def test_revoke(
|
||||
lambda_context,
|
||||
)
|
||||
assert r['statusCode'] == HTTPStatus.NO_CONTENT
|
||||
|
||||
|
||||
def test_get_scheduled(
|
||||
app,
|
||||
seeds,
|
||||
http_api_proxy: HttpApiProxy,
|
||||
lambda_context: LambdaContext,
|
||||
):
|
||||
r = app.lambda_handler(
|
||||
http_api_proxy(
|
||||
raw_path='/orgs/1234/enrollments/scheduled',
|
||||
method=HTTPMethod.GET,
|
||||
),
|
||||
lambda_context,
|
||||
)
|
||||
assert r['statusCode'] == HTTPStatus.OK
|
||||
|
||||
Reference in New Issue
Block a user