Commit 22945474c29f5cc5f44587499e7a131d0705a6a7

Authored by Yurii Mykhalchuk
Committed by OrysiaDrabych
1 parent 94e74a6b

Make cosmetic changes in op_client.robot

... ... @@ -1301,8 +1301,8 @@ Library openprocurement_client.utils
1301 1301 [Arguments] ${username} ${contract_uaid}
1302 1302 ${internalid}= openprocurement_client.Отримати internal id по UAid для договору ${username} ${contract_uaid}
1303 1303 ${contract}= Call Method ${USERS.users['${username}'].contracting_client} get_contract ${internalid}
1304   - Set To Dictionary ${USERS.users['${username}']} contract_data=${contract}
1305 1304 ${contract}= munch_dict arg=${contract}
  1305 + Set To Dictionary ${USERS.users['${username}']} contract_data=${contract}
1306 1306 Log ${contract}
1307 1307 [return] ${contract}
1308 1308
... ... @@ -1310,7 +1310,7 @@ Library openprocurement_client.utils
1310 1310 Отримати доступ до договору
1311 1311 [Arguments] ${username} ${contract_uaid}
1312 1312 ${internalid}= openprocurement_client.Отримати internal id по UAid для договору ${username} ${contract_uaid}
1313   - ${contract}= Call Method ${USERS.users['${username}'].contracting_client} get_contract_credentials ${internalid} ${USERS.users['${username}'].access_token} ${EMPTY}
  1313 + ${contract}= Call Method ${USERS.users['${username}'].contracting_client} get_contract_credentials ${internalid} ${USERS.users['${username}'].access_token}
1314 1314 ${contract}= munch_dict arg=${contract}
1315 1315 Set To Dictionary ${USERS.users['${username}']} contract_data=${contract}
1316 1316 Set To Dictionary ${USERS.users['${username}']} contract_access_token=${contract.access.token}
... ... @@ -1322,6 +1322,7 @@ Library openprocurement_client.utils
1322 1322 [Arguments] ${username} ${contract_uaid} ${change_data}
1323 1323 ${internalid}= openprocurement_client.Отримати internal id по UAid для договору ${username} ${contract_uaid}
1324 1324 ${reply}= Call Method ${USERS.users['${username}'].contracting_client} create_change ${internalid} ${USERS.users['${username}'].contract_access_token} ${change_data}
  1325 + # we need this to have change id in `Додати документацію до зміни в договорі` and `Застосувати зміну` keywords
1325 1326 ${empty_list}= Create List
1326 1327 ${changes}= Get variable value ${USERS.users['${username}'].changes} ${empty_list}
1327 1328 Append to list ${changes} ${reply}
... ... @@ -1329,6 +1330,7 @@ Library openprocurement_client.utils
1329 1330 Log ${change_data}
1330 1331 Log ${reply}
1331 1332
  1333 +
1332 1334 Додати документацію до зміни в договорі
1333 1335 [Arguments] ${username} ${contract_uaid} ${document}
1334 1336 ${internalid}= openprocurement_client.Отримати internal id по UAid для договору ${username} ${contract_uaid}
... ...
Please register or login to post a comment