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,12 +395,9 @@ Library openprocurement_client_helper.py | ||
| 395 | ... Find tender using uaid, get data from change_cancellation_document_field and call | 395 | ... Find tender using uaid, get data from change_cancellation_document_field and call |
| 396 | ... patch_cancellation_document | 396 | ... patch_cancellation_document |
| 397 | ... [Return] Nothing | 397 | ... [Return] Nothing |
| 398 | - [Arguments] ${username} ${tender_uaid} ${cancel_num} ${doc_num} | 398 | + [Arguments] ${username} ${tender_uaid} ${cancel_num} ${doc_num} ${field} ${value} |
| 399 | ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 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 | Log ${data} | 401 | Log ${data} |
| 405 | ${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']} | 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 | Log ${reply} | 403 | Log ${reply} |
| @@ -684,9 +684,14 @@ ${broker} Quinta | @@ -684,9 +684,14 @@ ${broker} Quinta | ||
| 684 | ... ${USERS.users['${tender_owner}'].broker} | 684 | ... ${USERS.users['${tender_owner}'].broker} |
| 685 | ${FIRST_DOC}= Set variable 0 | 685 | ${FIRST_DOC}= Set variable 0 |
| 686 | Set Suite Variable ${FIRST_DOC} | 686 | Set Suite Variable ${FIRST_DOC} |
| 687 | + ${field}= Set variable description | ||
| 688 | + ${value}= Set variable test description | ||
| 687 | Викликати для учасника ${tender_owner} | 689 | Викликати для учасника ${tender_owner} |
| 688 | ... Змінити опис документа в скасуванні | 690 | ... Змінити опис документа в скасуванні |
| 689 | ... ${TENDER['TENDER_UAID']} ${CANCEL_NUM} ${FIRST_DOC} | 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