Skip to content

Commit 11c4cf2

Browse files
committed
bugfix - delete_file() II
1 parent f7d7889 commit 11c4cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/filenameprocessor/tests/test_lambda_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def test_lambda_handler_extended_attributes_success(self):
301301
self.assertEqual(item[AuditTableKeys.TIMESTAMP]["S"], test_cases[0].created_at_formatted_string)
302302
self.assertEqual(item[AuditTableKeys.EXPIRES_AT]["N"], str(test_cases[0].expires_at))
303303
# File should be moved to destination under archive/
304-
dest_key = f"archive/{test_cases[0].file_key}"
304+
dest_key = f"dps_destination/{test_cases[0].file_key}"
305305
print(f" destination file is at {s3_client.list_objects(Bucket=BucketNames.DESTINATION)}")
306306
retrieved = s3_client.get_object(Bucket=BucketNames.DESTINATION, Key=dest_key)
307307
self.assertIsNotNone(retrieved)

0 commit comments

Comments
 (0)