remove METADATA#COURSE

This commit is contained in:
2025-10-07 16:56:00 -03:00
parent 161b75db8d
commit 4fdf98a5b4
10 changed files with 40 additions and 31 deletions

View File

@@ -31,8 +31,6 @@ def test_enroll(
TransactKey('47ZxxcVBjvhDS5TE98tpfQ')
+ SortKey('0')
+ SortKey('METADATA#DEDUPLICATION_WINDOW')
+ SortKey('METADATA#COURSE')
)
assert 'METADATA#COURSE' in result
assert 'METADATA#DEDUPLICATION_WINDOW' in result

View File

@@ -20,6 +20,10 @@ def test_issue_cert(
'name': 'Jimi Hendrix',
'cpf': '74630003037',
},
'course': {
'id': '123',
'name': 'pytest',
},
'score': 79,
'status': 'COMPLETED',
}

View File

@@ -33,4 +33,4 @@ def test_schedule_reminders(
r = dynamodb_persistence_layer.collection.query(
PartitionKey('14682b79-3df2-4351-9229-8b558af046a0')
)
assert len(r['items']) == 4
assert len(r['items']) == 3