Commit c0b70d4e2e7cd402300097f5c032eb2d9caac319

Authored by mykhaly
1 parent 767215af

Rename suite variable `${api_version}` into `${API_VERSION}`

... ... @@ -20,8 +20,8 @@ Library openprocurement_client_helper.py
20 20 [Arguments] ${username}
21 21 [Documentation] Відкрити браузер, створити об’єкт api wrapper, тощо
22 22 Log ${API_HOST_URL}
23   - Log ${api_version}
24   - ${api_wrapper}= prepare_api_wrapper ${USERS.users['${username}'].api_key} ${API_HOST_URL} ${api_version}
  23 + Log ${API_VERSION}
  24 + ${api_wrapper}= prepare_api_wrapper ${USERS.users['${username}'].api_key} ${API_HOST_URL} ${API_VERSION}
25 25 Set To Dictionary ${USERS.users['${username}']} client=${api_wrapper}
26 26 Set To Dictionary ${USERS.users['${username}']} access_token=${EMPTY}
27 27 ${id_map}= Create Dictionary
... ... @@ -85,7 +85,7 @@ Library openprocurement_client_helper.py
85 85 Set To Dictionary ${tender['data']} status=${status}
86 86 ${tender}= Call Method ${USERS.users['${username}'].client} patch_tender ${tender}
87 87 Log ${tender}
88   - Log ${\n}${API_HOST_URL}/api/${api_version}/tenders/${tender.data.id}${\n} WARN
  88 + Log ${\n}${API_HOST_URL}/api/${API_VERSION}/tenders/${tender.data.id}${\n} WARN
89 89 Set To Dictionary ${USERS.users['${username}']} access_token=${access_token}
90 90 Set To Dictionary ${USERS.users['${username}']} tender_data=${tender}
91 91 Log ${USERS.users['${username}'].tender_data}
... ...
... ... @@ -161,7 +161,7 @@ Get Broker Property By Username
161 161
162 162 Створити артефакт
163 163 ${artifact}= Create Dictionary
164   - ... api_version=${api_version}
  164 + ... api_version=${API_VERSION}
165 165 ... tender_uaid=${TENDER['TENDER_UAID']}
166 166 ... last_modification_date=${TENDER['LAST_MODIFICATION_DATE']}
167 167 ... mode=${MODE}
... ...
1 1 *** Variables ***
2 2 ${API_HOST_URL} https://lb.api-sandbox.openprocurement.org
3   -${api_version} 2.3
  3 +${API_VERSION} 2.3
4 4 ${broker} Quinta
5 5 ${role} viewer
... ...
Please register or login to post a comment