Commit 767215af906b7339c2b0d65aa45594b103fe96b6
1 parent
6c9c70de
Rename suite variable `${api_host_url}` into `${API_HOST_URL}`
Showing
3 changed files
with
5 additions
and
5 deletions
... | ... | @@ -19,9 +19,9 @@ Library openprocurement_client_helper.py |
19 | 19 | Підготувати клієнт для користувача |
20 | 20 | [Arguments] ${username} |
21 | 21 | [Documentation] Відкрити браузер, створити об’єкт api wrapper, тощо |
22 | - Log ${api_host_url} | |
22 | + Log ${API_HOST_URL} | |
23 | 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 | 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} | ... | ... |
... | ... | @@ -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 | 39 | ${local_time}= Get current TZdate |
40 | 40 | Log ${server_time.headers['date']} |
41 | 41 | Log ${local_time} | ... | ... |
Please
register
or
login
to post a comment