update layercake
This commit is contained in:
@@ -37,8 +37,7 @@ def test_edit_course(
|
||||
'given_cert': 'true',
|
||||
'name': 'pytest updated from test',
|
||||
'access_period': '365',
|
||||
'cert.exp_interval': '360',
|
||||
'cert.rawfile': f,
|
||||
'rawfile': ('sample.html', f, 'text/html'),
|
||||
}
|
||||
)
|
||||
r = app.lambda_handler(
|
||||
@@ -59,4 +58,7 @@ def test_edit_course(
|
||||
key={'id': course_id, 'sk': '0'},
|
||||
)
|
||||
|
||||
print(r)
|
||||
assert (
|
||||
r['cert']['s3_uri']
|
||||
== 's3://saladeaula.digital/certs/2a8963fc-4694-4fe2-953a-316d1b10f1f5.html'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user