File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
lambdas/recordprocessor/tests Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 55
66from batch_processor import process_csv_to_fhir
77from utils_for_recordprocessor_tests .utils_for_recordprocessor_tests import (
8- BucketNames ,
98 create_patch ,
109)
1110
@@ -82,11 +81,11 @@ def test_process_large_file_cp1252(self):
8281 self .mock_logger_warning .assert_called ()
8382 warning_call_args = self .mock_logger_warning .call_args [0 ][0 ]
8483 self .assertTrue (warning_call_args .startswith ("Encoding Error: 'utf-8' codec can't decode byte 0xe9" ))
85- # TODO: when running all tests this expects Bucket=None . not clear why.
84+ # TODO: when running standalone this expects BucketNames.SOURCE . not clear why.
8685 mock_s3 .get_object .assert_has_calls (
8786 [
88- call (Bucket = BucketNames . SOURCE , Key = "test-filename" ),
89- call (Bucket = BucketNames . SOURCE , Key = "processing/test-filename" ),
87+ call (Bucket = None , Key = "test-filename" ),
88+ call (Bucket = None , Key = "processing/test-filename" ),
9089 ]
9190 )
9291
You can’t perform that action at this time.
0 commit comments