Showing
1 changed file
with
7 additions
and
1 deletions
1 | 1 | *** Settings *** |
2 | 2 | Library op_robot_tests.tests_files.brokers.openprocurement_client_helper |
3 | 3 | |
4 | +***Variables*** | |
5 | +${item_id} 0 | |
6 | +${question_id} 0 | |
7 | + | |
4 | 8 | *** Keywords *** |
5 | 9 | Підготувати клієнт для користувача |
6 | 10 | [Arguments] @{ARGUMENTS} |
7 | 11 | [Documentation] Відкрити брaвзер, створити обєкт api wrapper, тощо |
8 | - ${api_wrapper}= prepare_api_wrapper ${USERS.users['${ARGUMENTS[0]}'].api_key} ${API_HOST_URL} | |
12 | + ${api_wrapper}= prepare_api_wrapper ${USERS.users['${ARGUMENTS[0]}'].api_key} ${API_HOST_URL} ${api_version} | |
9 | 13 | Set To Dictionary ${USERS.users['${ARGUMENTS[0]}']} client ${api_wrapper} |
10 | 14 | Log Variables |
11 | 15 | |
... | ... | @@ -218,6 +222,8 @@ Library op_robot_tests.tests_files.brokers.openprocurement_client_helper |
218 | 222 | ... ${ARGUMENTS[0]} == username |
219 | 223 | ... ${ARGUMENTS[1]} == token |
220 | 224 | [Arguments] @{ARGUMENTS} |
225 | + log ${ARGUMENTS[0]} | |
226 | + log ${ARGUMENTS[1]} | |
221 | 227 | ${tender}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} get_tender ${TENDER_DATA.data.id} |
222 | 228 | ${tender}= set_access_key ${tender} ${ARGUMENTS[1]} |
223 | 229 | ${reply}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} upload_tender_document ${tender} | ... | ... |
Please
register
or
login
to post a comment