Skip to content

Commit f8ead5d

Browse files
committed
tidy
1 parent e9140f1 commit f8ead5d

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

e2e_batch/constants.py

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,10 @@ 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'
105104
return {
106105
header: "9732928395",
107106
"PERSON_FORENAME": "PHYLIS",
108-
"PERSON_SURNAME": name,
107+
"PERSON_SURNAME": "James" if not inject_char else b'Jam\xe9s',
109108
"PERSON_DOB": "20080217",
110109
"PERSON_GENDER_CODE": "0",
111110
"PERSON_POSTCODE": "WD25 0DZ",
@@ -138,32 +137,3 @@ def create_row(unique_id, dose_amount, action_flag: str, header, inject_char=Non
138137
"LOCATION_CODE": "RJC02",
139138
"LOCATION_CODE_TYPE_URI": "https://fhir.nhs.uk/Id/ods-organization-code",
140139
}
141-
142-
143-
# def create_permissions_json(value):
144-
# return {
145-
# "all_permissions": {
146-
# "DPSFULL": ["RSV_FULL", "COVID19_FULL", "FLU_FULL", "MMR_FULL"],
147-
# "DPSREDUCED": ["COVID19_FULL", "FLU_FULL", "MMR_FULL"],
148-
# "EMIS": [value, "RSV_FULL"],
149-
# "PINNACLE": ["COVID19_UPDATE", "RSV_FULL"],
150-
# "SONAR": "",
151-
# "TPP": [""],
152-
# "AGEM-NIVS": [""],
153-
# "NIMS": [""],
154-
# "EVA": [""],
155-
# "RAVS": [""],
156-
# "MEDICAL_DIRECTOR": [""],
157-
# "WELSH_DA_1": [""],
158-
# "WELSH_DA_2": [""],
159-
# "NORTHERN_IRELAND_DA": [""],
160-
# "SCOTLAND_DA": [""],
161-
# "COVID19_VACCINE_RESOLUTION_SERVICEDESK": [""],
162-
# },
163-
# "definitions:": {
164-
# "FULL": "Full permissions to create, update and delete a batch record",
165-
# "CREATE": "Permission to create a batch record",
166-
# "UPDATE": "Permission to update a batch record",
167-
# "DELETE": "Permission to delete a batch record",
168-
# },
169-
# }

0 commit comments

Comments
 (0)