update batch
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import json
|
||||
from http import HTTPMethod, HTTPStatus
|
||||
|
||||
from layercake.dynamodb import (
|
||||
@@ -36,6 +37,21 @@ def test_enroll(
|
||||
'id': '6d69a34a-cefd-40aa-a89b-dceb694c3e61',
|
||||
'name': 'pytest',
|
||||
},
|
||||
'deduplication_window': {
|
||||
'offset_days': 60,
|
||||
},
|
||||
},
|
||||
{
|
||||
'user': {
|
||||
'id': '9a41e867-55e1-4573-bd27-7b5d1d1bcfde',
|
||||
'name': 'Tiago Maciel',
|
||||
'email': 'tiago@somosbeta.com.br',
|
||||
'cpf': '08679004901',
|
||||
},
|
||||
'course': {
|
||||
'id': '6d69a34a-cefd-40aa-a89b-dceb694c3e61',
|
||||
'name': 'pytest',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -43,8 +59,8 @@ def test_enroll(
|
||||
lambda_context,
|
||||
)
|
||||
|
||||
assert r['statusCode'] == HTTPStatus.OK
|
||||
print(r)
|
||||
# assert r['statusCode'] == HTTPStatus.OK
|
||||
print(json.loads(r['body']))
|
||||
|
||||
|
||||
def test_vacancies(
|
||||
|
||||
Reference in New Issue
Block a user