Skip to content

Commit 74b4bec

Browse files
author
ASubaran
committed
added header
1 parent 287fc57 commit 74b4bec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

e2e_batch/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ def get_file_content_from_s3(bucket, key):
119119

120120

121121
def check_ack_file_content(content, response_code, operation_outcome):
122-
"""Parse the ack CSV file and verify each row's 'HEADER_RESPONSE_CODE' column matches the response code."""
122+
"""Parse the acknowledgment (ACK) CSV file and verify that each row's 'HEADER_RESPONSE_CODE' column
123+
matches the expected response code. If the response code is 'Fatal Error', it also validates
124+
the 'OPERATION_OUTCOME' column."""
123125
reader = csv.DictReader(content.splitlines(), delimiter="|")
124126
rows = list(reader)
125127
for i, row in enumerate(rows):

0 commit comments

Comments
 (0)