We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 287fc57 commit 74b4becCopy full SHA for 74b4bec
e2e_batch/utils.py
@@ -119,7 +119,9 @@ def get_file_content_from_s3(bucket, key):
119
120
121
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."""
+ """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."""
125
reader = csv.DictReader(content.splitlines(), delimiter="|")
126
rows = list(reader)
127
for i, row in enumerate(rows):
0 commit comments