Commit 767215af906b7339c2b0d65aa45594b103fe96b6

Authored by mykhaly
1 parent 6c9c70de

Rename suite variable `${api_host_url}` into `${API_HOST_URL}`

@@ -19,9 +19,9 @@ Library openprocurement_client_helper.py @@ -19,9 +19,9 @@ Library openprocurement_client_helper.py
19 Підготувати клієнт для користувача 19 Підготувати клієнт для користувача
20 [Arguments] ${username} 20 [Arguments] ${username}
21 [Documentation] Відкрити браузер, створити об’єкт api wrapper, тощо 21 [Documentation] Відкрити браузер, створити об’єкт api wrapper, тощо
22 - Log ${api_host_url} 22 + Log ${API_HOST_URL}
23 Log ${api_version} 23 Log ${api_version}
24 - ${api_wrapper}= prepare_api_wrapper ${USERS.users['${username}'].api_key} ${api_host_url} ${api_version} 24 + ${api_wrapper}= prepare_api_wrapper ${USERS.users['${username}'].api_key} ${API_HOST_URL} ${api_version}
25 Set To Dictionary ${USERS.users['${username}']} client=${api_wrapper} 25 Set To Dictionary ${USERS.users['${username}']} client=${api_wrapper}
26 Set To Dictionary ${USERS.users['${username}']} access_token=${EMPTY} 26 Set To Dictionary ${USERS.users['${username}']} access_token=${EMPTY}
27 ${id_map}= Create Dictionary 27 ${id_map}= Create Dictionary
@@ -85,7 +85,7 @@ Library openprocurement_client_helper.py @@ -85,7 +85,7 @@ Library openprocurement_client_helper.py
85 Set To Dictionary ${tender['data']} status=${status} 85 Set To Dictionary ${tender['data']} status=${status}
86 ${tender}= Call Method ${USERS.users['${username}'].client} patch_tender ${tender} 86 ${tender}= Call Method ${USERS.users['${username}'].client} patch_tender ${tender}
87 Log ${tender} 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 Set To Dictionary ${USERS.users['${username}']} access_token=${access_token} 89 Set To Dictionary ${USERS.users['${username}']} access_token=${access_token}
90 Set To Dictionary ${USERS.users['${username}']} tender_data=${tender} 90 Set To Dictionary ${USERS.users['${username}']} tender_data=${tender}
91 Log ${USERS.users['${username}'].tender_data} 91 Log ${USERS.users['${username}'].tender_data}
@@ -35,7 +35,7 @@ Set Suite Variable With Default Value @@ -35,7 +35,7 @@ Set Suite Variable With Default Value
35 35
36 36
37 Порівняти системний і серверний час 37 Порівняти системний і серверний час
38 - ${server_time}= request ${api_host_url} HEAD 38 + ${server_time}= request ${API_HOST_URL} HEAD
39 ${local_time}= Get current TZdate 39 ${local_time}= Get current TZdate
40 Log ${server_time.headers['date']} 40 Log ${server_time.headers['date']}
41 Log ${local_time} 41 Log ${local_time}
1 *** Variables *** 1 *** Variables ***
2 -${api_host_url} https://lb.api-sandbox.openprocurement.org 2 +${API_HOST_URL} https://lb.api-sandbox.openprocurement.org
3 ${api_version} 2.3 3 ${api_version} 2.3
4 ${broker} Quinta 4 ${broker} Quinta
5 ${role} viewer 5 ${role} viewer
Please register or login to post a comment