Skip to content

Commit 2ca81c0

Browse files
committed
tidy
1 parent 43d497c commit 2ca81c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

e2e_batch/constants.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,11 @@ class TestSet():
101101
def create_row(unique_id, dose_amount, action_flag: str, header, inject_char=None):
102102
"""Helper function to create a single row with the specified UNIQUE_ID and ACTION_FLAG."""
103103

104+
name = "James" if not inject_char else b'Jam\xe9s'
104105
return {
105106
header: "9732928395",
106107
"PERSON_FORENAME": "PHYLIS",
107-
"PERSON_SURNAME": "James" if not inject_char else b'Jam\xe9s',
108+
"PERSON_SURNAME": name,
108109
"PERSON_DOB": "20080217",
109110
"PERSON_GENDER_CODE": "0",
110111
"PERSON_POSTCODE": "WD25 0DZ",

0 commit comments

Comments
 (0)