remove deduplication as default
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import app.events.enroll as app
|
||||
from aws_lambda_powertools.utilities.typing import LambdaContext
|
||||
from layercake.dynamodb import DynamoDBPersistenceLayer, KeyPair
|
||||
from layercake.dynamodb import DynamoDBPersistenceLayer, KeyPair, PartitionKey
|
||||
|
||||
|
||||
def test_enroll(
|
||||
@@ -30,3 +30,6 @@ def test_enroll(
|
||||
KeyPair(enrollment_id, f'LINKED_ENTITIES#PARENT#ORDER#{order_id}'),
|
||||
)
|
||||
assert enrollment
|
||||
|
||||
r = dynamodb_persistence_layer.collection.query(PartitionKey(enrollment['id']))
|
||||
assert not any(x['sk'] == 'METADATA#DEDUPLICATION_WINDOW' for x in r['items'])
|
||||
|
||||
Reference in New Issue
Block a user