@@ -292,8 +292,8 @@ def test_lambda_handler_extended_attributes_success(self, mock_get_redis_client)
292292 archived_obj = s3_client .get_object (Bucket = BucketNames .SOURCE , Key = archived_key )
293293 self .assertIsNotNone (archived_obj )
294294
295- # Also verify file copied to DPS destination bucket under dps_destination /<file_key>
296- dps_key = f"dps_destination /{ test_cases [0 ].file_key } "
295+ # Also verify file copied to DPS destination bucket under generic/EXTENDED_ATTRIBUTES_DAILY_1 /<file_key>
296+ dps_key = f"generic/EXTENDED_ATTRIBUTES_DAILY_1 /{ test_cases [0 ].file_key } "
297297 copied_obj = s3_client .get_object (Bucket = BucketNames .DPS_DESTINATION , Key = dps_key )
298298 self .assertIsNotNone (copied_obj )
299299
@@ -467,7 +467,7 @@ def test_lambda_handler_extended_attributes_extension_checks(self, mock_get_redi
467467 # Ensure processed path hit by checking archive move in source bucket
468468 s3_client .get_object (Bucket = BucketNames .SOURCE , Key = f"extended-attributes-archive/{ csv_key } " )
469469 # And verify copy to DPS destination
470- s3_client .get_object (Bucket = BucketNames .DPS_DESTINATION , Key = f"dps_destination /{ csv_key } " )
470+ s3_client .get_object (Bucket = BucketNames .DPS_DESTINATION , Key = f"generic/EXTENDED_ATTRIBUTES_DAILY_1 /{ csv_key } " )
471471
472472 # .DAT accepted
473473 dat_key = MockFileDetails .extended_attributes_file .file_key [:- 3 ] + "dat"
@@ -478,7 +478,7 @@ def test_lambda_handler_extended_attributes_extension_checks(self, mock_get_redi
478478 ):
479479 lambda_handler (self .make_event ([self .make_record (dat_key )]), None )
480480 s3_client .get_object (Bucket = BucketNames .SOURCE , Key = f"extended-attributes-archive/{ dat_key } " )
481- s3_client .get_object (Bucket = BucketNames .DPS_DESTINATION , Key = f"dps_destination /{ dat_key } " )
481+ s3_client .get_object (Bucket = BucketNames .DPS_DESTINATION , Key = f"generic/EXTENDED_ATTRIBUTES_DAILY_1 /{ dat_key } " )
482482
483483 # Invalid extension fails
484484 bad_ext_key = csv_key [:- 3 ] + "txt"
0 commit comments