update layercake

This commit is contained in:
2025-10-06 23:16:42 -03:00
parent 942c038744
commit 161b75db8d
13 changed files with 95 additions and 24 deletions

View File

@@ -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'
)