Commit e6f956f6b47eec44438de6d1092a602524e2806f
1 parent
f52414d0
Add document description as argument
Showing
2 changed files
with
7 additions
and
5 deletions
... | ... | @@ -395,12 +395,9 @@ Library openprocurement_client_helper.py |
395 | 395 | ... Find tender using uaid, get data from change_cancellation_document_field and call |
396 | 396 | ... patch_cancellation_document |
397 | 397 | ... [Return] Nothing |
398 | - [Arguments] ${username} ${tender_uaid} ${cancel_num} ${doc_num} | |
398 | + [Arguments] ${username} ${tender_uaid} ${cancel_num} ${doc_num} ${field} ${value} | |
399 | 399 | ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
400 | - ${cancellation_document_field}= Set variable description | |
401 | - ${cancellation_document_description}= Set variable test description | |
402 | - Set To Dictionary ${USERS.users['${tender_owner}']} cancellation_document_description ${cancellation_document_description} | |
403 | - ${data}= change_cancellation_document_field ${cancellation_document_field} ${cancellation_document_description} | |
400 | + ${data}= test_change_cancellation_document_field_data ${field} ${value} | |
404 | 401 | Log ${data} |
405 | 402 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_cancellation_document ${tender} ${data} ${tender['data']['cancellations'][${cancel_num}]['id']} ${tender['data']['cancellations'][${cancel_num}]['documents'][${doc_num}]['id']} |
406 | 403 | Log ${reply} | ... | ... |
... | ... | @@ -684,9 +684,14 @@ ${broker} Quinta |
684 | 684 | ... ${USERS.users['${tender_owner}'].broker} |
685 | 685 | ${FIRST_DOC}= Set variable 0 |
686 | 686 | Set Suite Variable ${FIRST_DOC} |
687 | + ${field}= Set variable description | |
688 | + ${value}= Set variable test description | |
687 | 689 | Викликати для учасника ${tender_owner} |
688 | 690 | ... Змінити опис документа в скасуванні |
689 | 691 | ... ${TENDER['TENDER_UAID']} ${CANCEL_NUM} ${FIRST_DOC} |
692 | + ... ${field} | |
693 | + ... ${value} | |
694 | + Set To Dictionary ${USERS.users['${tender_owner}']} cancellation_document_description ${value} | |
690 | 695 | |
691 | 696 | |
692 | 697 | Можливість завантажити нову версію документа до запиту на скасування прямої закупівлі | ... | ... |
Please
register
or
login
to post a comment