Commit f62e4a1b13793b66ca6815a0391a57cb51310a45
1 parent
7ccf7db0
Add document description as argument
Showing
2 changed files
with
7 additions
and
5 deletions
| ... | ... | @@ -361,12 +361,9 @@ Library openprocurement_client_helper.py |
| 361 | 361 | ... Find tender using uaid, get data from test_change_cancellation_document_field and call |
| 362 | 362 | ... patch_cancellation_document |
| 363 | 363 | ... [Return] Nothing |
| 364 | - [Arguments] ${username} ${tender_uaid} ${cancel_num} ${doc_num} | |
| 364 | + [Arguments] ${username} ${tender_uaid} ${cancel_num} ${doc_num} ${field} ${value} | |
| 365 | 365 | ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
| 366 | - ${cancellation_document_field}= Set variable description | |
| 367 | - ${cancellation_document_description}= Set variable test description | |
| 368 | - Set To Dictionary ${USERS.users['${tender_owner}']} cancellation_document_description ${cancellation_document_description} | |
| 369 | - ${data}= test_change_cancellation_document_field_data ${cancellation_document_field} ${cancellation_document_description} | |
| 366 | + ${data}= test_change_cancellation_document_field_data ${field} ${value} | |
| 370 | 367 | Log ${data} |
| 371 | 368 | ${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']} |
| 372 | 369 | 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