|
@@ -1338,11 +1338,11 @@ Library openprocurement_client.utils |
|
@@ -1338,11 +1338,11 @@ Library openprocurement_client.utils |
1338
|
|
1338
|
|
1339
|
Додати документацію до зміни в договорі
|
1339
|
Додати документацію до зміни в договорі
|
1340
|
[Arguments] ${username} ${contract_uaid} ${document}
|
1340
|
[Arguments] ${username} ${contract_uaid} ${document}
|
1341
|
- ${internalid}= openprocurement_client.Отримати internal id по UAid для договору ${username} ${contract_uaid}
|
|
|
1342
|
- ${reply_doc_create}= Call Method ${USERS.users['${username}'].contracting_client} upload_document ${document} ${internalid} ${USERS.users['${username}'].contract_access_token}
|
|
|
1343
|
- ${data}= Create Dictionary documentOf=change relatedItem=${USERS.users['${username}'].changes[0].data.id}
|
|
|
1344
|
- ${data}= Create Dictionary data=${data}
|
|
|
1345
|
- ${reply_doc_patch}= Call Method ${USERS.users['${username}'].contracting_client} patch_document ${internalid} ${reply_doc_create.data.id} ${USERS.users['${username}'].contract_access_token} ${data}
|
1341
|
+ ${contract}= openprocurement_client.Пошук договору по ідентифікатору ${username} ${contract_uaid}
|
|
|
1342
|
+ ${contract}= set_access_key ${contract} ${USERS.users['${username}'].contract_access_token}
|
|
|
1343
|
+ ${reply_doc_create}= Call Method ${USERS.users['${username}'].contracting_client} upload_document ${document} ${contract}
|
|
|
1344
|
+ ${change_document}= test_change_document_data ${reply_doc_create} ${USERS.users['${username}'].changes[0].data.id}
|
|
|
1345
|
+ ${reply_doc_patch}= Call Method ${USERS.users['${username}'].contracting_client} patch_document ${contract} ${change_document}
|
1346
|
Log ${reply_doc_create}
|
1346
|
Log ${reply_doc_create}
|
1347
|
Log ${reply_doc_patch}
|
1347
|
Log ${reply_doc_patch}
|
1348
|
|
1348
|
|