remove deduplication as default
This commit is contained in:
@@ -3,7 +3,7 @@ from aws_lambda_powertools.utilities.typing import LambdaContext
|
||||
from layercake.dynamodb import DynamoDBPersistenceLayer, KeyPair
|
||||
|
||||
|
||||
def test_reenroll(
|
||||
def test_reenroll_custom_dedup_window(
|
||||
seeds,
|
||||
dynamodb_persistence_layer: DynamoDBPersistenceLayer,
|
||||
lambda_context: LambdaContext,
|
||||
@@ -46,3 +46,8 @@ def test_reenroll(
|
||||
)
|
||||
)
|
||||
assert child
|
||||
|
||||
dedup_window = dynamodb_persistence_layer.collection.get_item(
|
||||
KeyPair(child_id, 'METADATA#DEDUPLICATION_WINDOW')
|
||||
)
|
||||
assert dedup_window
|
||||
|
||||
Reference in New Issue
Block a user