remove METADATA#COURSE
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -20,6 +20,10 @@ def test_issue_cert(
|
||||
'name': 'Jimi Hendrix',
|
||||
'cpf': '74630003037',
|
||||
},
|
||||
'course': {
|
||||
'id': '123',
|
||||
'name': 'pytest',
|
||||
},
|
||||
'score': 79,
|
||||
'status': 'COMPLETED',
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user