Skip to content

Commit 4c630af

Browse files
committed
Revert to using RAVS_URI as default when generating csv file
1 parent 0bc7e1e commit 4c630af

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tests/e2e_batch/scenarios.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,19 @@ def generate_csv_file(self):
133133
logger.info(f'Test "{self.name}" File {self.file_name}')
134134
data = []
135135
self.identifier = str(uuid.uuid4())
136+
137+
unique_id_uri = RAVS_URI
138+
139+
if self.ods == "YGA":
140+
unique_id_uri = TPP_V5_SUPPLIER_IDENTIFIER_SYSTEM
141+
142+
if self.ods == "YGJ":
143+
unique_id_uri = EMIS_V5_SUPPLIER_IDENTIFIER_SYSTEM
144+
136145
for action in self.actions:
137146
row = create_row(
138147
self.identifier,
139-
self.ods,
148+
unique_id_uri,
140149
self.dose_amount,
141150
action.action,
142151
self.header,

0 commit comments

Comments
 (0)