Commit 11a53760051d458fc715454df4a945b07fa56401
1 parent
5c984078
add keywords for complaint(openua)
Showing
2 changed files
with
54 additions
and
0 deletions
| ... | ... | @@ -807,6 +807,27 @@ Resource resource.robot |
| 807 | 807 | Remove File ${file_path} |
| 808 | 808 | |
| 809 | 809 | |
| 810 | +Можливість створити скаргу про виправлення визначення ${award_index} переможця із документацією | |
| 811 | + ${claim}= Підготувати дані для подання вимоги | |
| 812 | + ${file_path} ${file_name} ${file_content}= create_fake_doc | |
| 813 | + ${complaintID}= Run As ${provider} | |
| 814 | + ... Створити скаргу про виправлення визначення переможця | |
| 815 | + ... ${TENDER['TENDER_UAID']} | |
| 816 | + ... ${claim} | |
| 817 | + ... ${award_index} | |
| 818 | + ... ${file_path} | |
| 819 | + ${doc_id}= get_id_from_string ${file_name} | |
| 820 | + ${claim_data}= Create Dictionary | |
| 821 | + ... claim=${claim} | |
| 822 | + ... complaintID=${complaintID} | |
| 823 | + ... doc_name=${file_name} | |
| 824 | + ... doc_id=${doc_id} | |
| 825 | + ... doc_content=${file_content} | |
| 826 | + ${claim_data}= munch_dict arg=${claim_data} | |
| 827 | + Set To Dictionary ${USERS.users['${provider}']} claim_data ${claim_data} | |
| 828 | + Remove File ${file_path} | |
| 829 | + | |
| 830 | + | |
| 810 | 831 | Можливість скасувати вимогу про виправлення умов закупівлі |
| 811 | 832 | ${cancellation_reason}= create_fake_sentence |
| 812 | 833 | ${data}= Create Dictionary | ... | ... |
| ... | ... | @@ -676,6 +676,39 @@ Library openprocurement_client.utils |
| 676 | 676 | [return] ${complaintID} |
| 677 | 677 | |
| 678 | 678 | |
| 679 | +Створити скаргу про виправлення визначення переможця | |
| 680 | + [Documentation] Створює скаргу у статусі "pending" | |
| 681 | + ... Можна створити скаргу як з документацією, так і без неї | |
| 682 | + [Arguments] ${username} ${tender_uaid} ${claim} ${award_index} ${document}=${None} | |
| 683 | + ${complaintID}= openprocurement_client.Створити чернетку вимоги про виправлення визначення переможця | |
| 684 | + ... ${username} | |
| 685 | + ... ${tender_uaid} | |
| 686 | + ... ${claim} | |
| 687 | + ... ${award_index} | |
| 688 | + | |
| 689 | + ${status}= Run keyword and return status Should not be equal ${document} ${None} | |
| 690 | + Log ${status} | |
| 691 | + Run keyword if ${status} == ${True} openprocurement_client.Завантажити документацію до вимоги про виправлення визначення переможця | |
| 692 | + ... ${username} | |
| 693 | + ... ${tender_uaid} | |
| 694 | + ... ${complaintID} | |
| 695 | + ... ${award_index} | |
| 696 | + ... ${document} | |
| 697 | + | |
| 698 | + ${status}= Set variable pending | |
| 699 | + ${data}= Create Dictionary status=${status} | |
| 700 | + ${confirmation_data}= Create Dictionary data=${data} | |
| 701 | + openprocurement_client.Подати вимогу про виправлення визначення переможця | |
| 702 | + ... ${username} | |
| 703 | + ... ${tender_uaid} | |
| 704 | + ... ${complaintID} | |
| 705 | + ... ${award_index} | |
| 706 | + ... ${confirmation_data} | |
| 707 | + | |
| 708 | + [return] ${complaintID} | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 679 | 712 | Завантажити документацію до вимоги |
| 680 | 713 | [Arguments] ${username} ${tender_uaid} ${complaintID} ${document} |
| 681 | 714 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ... | ... |
Please
register
or
login
to post a comment