Showing
1 changed file
with
10 additions
and
10 deletions
@@ -725,7 +725,7 @@ Library openprocurement_client_helper.py | @@ -725,7 +725,7 @@ Library openprocurement_client_helper.py | ||
725 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 725 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
726 | ${bid}= openprocurement_client.Отримати пропозицію ${username} ${tender_uaid} | 726 | ${bid}= openprocurement_client.Отримати пропозицію ${username} ${tender_uaid} |
727 | Set_To_Object ${bid.data} ${fieldname} ${fieldvalue} | 727 | Set_To_Object ${bid.data} ${fieldname} ${fieldvalue} |
728 | - ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} | 728 | + ${tender}= set_access_key ${tender} ${USERS.users['${username}']['access_token']} |
729 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid ${tender} ${bid} | 729 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid ${tender} ${bid} |
730 | Log ${reply} | 730 | Log ${reply} |
731 | 731 | ||
@@ -734,15 +734,15 @@ Library openprocurement_client_helper.py | @@ -734,15 +734,15 @@ Library openprocurement_client_helper.py | ||
734 | [Arguments] ${username} ${tender_uaid} | 734 | [Arguments] ${username} ${tender_uaid} |
735 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 735 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
736 | ${bid_id}= openprocurement_client.Отримати інформацію із пропозиції ${username} ${tender_uaid} id | 736 | ${bid_id}= openprocurement_client.Отримати інформацію із пропозиції ${username} ${tender_uaid} id |
737 | - ${reply}= Call Method ${USERS.users['${username}'].client} delete_bid ${tender} ${bid_id} ${USERS.users['${username}'].bidresponses['resp'].access.token} | 737 | + ${reply}= Call Method ${USERS.users['${username}'].client} delete_bid ${tender} ${bid_id} ${USERS.users['${username}']['access_token']} |
738 | Log ${reply} | 738 | Log ${reply} |
739 | 739 | ||
740 | 740 | ||
741 | Завантажити документ в ставку | 741 | Завантажити документ в ставку |
742 | [Arguments] ${username} ${path} ${tender_uaid} ${doc_type}=documents | 742 | [Arguments] ${username} ${path} ${tender_uaid} ${doc_type}=documents |
743 | - ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id} | 743 | + ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid'].data.id} |
744 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 744 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
745 | - ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} | 745 | + ${tender}= set_access_key ${tender} ${USERS.users['${username}']['access_token']} |
746 | ${response}= Call Method ${USERS.users['${username}'].client} upload_bid_document ${path} ${tender} ${bid_id} ${doc_type} | 746 | ${response}= Call Method ${USERS.users['${username}'].client} upload_bid_document ${path} ${tender} ${bid_id} ${doc_type} |
747 | ${uploaded_file} = Create Dictionary | 747 | ${uploaded_file} = Create Dictionary |
748 | ... filepath=${path} | 748 | ... filepath=${path} |
@@ -753,9 +753,9 @@ Library openprocurement_client_helper.py | @@ -753,9 +753,9 @@ Library openprocurement_client_helper.py | ||
753 | 753 | ||
754 | Змінити документ в ставці | 754 | Змінити документ в ставці |
755 | [Arguments] ${username} ${tender_uaid} ${path} ${docid} | 755 | [Arguments] ${username} ${tender_uaid} ${path} ${docid} |
756 | - ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id} | 756 | + ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid'].data.id} |
757 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 757 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
758 | - ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} | 758 | + ${tender}= set_access_key ${tender} ${USERS.users['${username}']['access_token']} |
759 | ${response}= Call Method ${USERS.users['${username}'].client} update_bid_document ${path} ${tender} ${bid_id} ${docid} | 759 | ${response}= Call Method ${USERS.users['${username}'].client} update_bid_document ${path} ${tender} ${bid_id} ${docid} |
760 | ${uploaded_file} = Create Dictionary | 760 | ${uploaded_file} = Create Dictionary |
761 | ... filepath=${path} | 761 | ... filepath=${path} |
@@ -766,17 +766,17 @@ Library openprocurement_client_helper.py | @@ -766,17 +766,17 @@ Library openprocurement_client_helper.py | ||
766 | 766 | ||
767 | Змінити документацію в ставці | 767 | Змінити документацію в ставці |
768 | [Arguments] ${username} ${tender_uaid} ${doc_data} ${docid} | 768 | [Arguments] ${username} ${tender_uaid} ${doc_data} ${docid} |
769 | - ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id} | 769 | + ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid'].data.id} |
770 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 770 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
771 | - ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} | 771 | + ${tender}= set_access_key ${tender} ${USERS.users['${username}']['access_token']} |
772 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid_document ${tender} ${doc_data} ${bid_id} ${docid} | 772 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid_document ${tender} ${doc_data} ${bid_id} ${docid} |
773 | 773 | ||
774 | 774 | ||
775 | Отримати пропозицію | 775 | Отримати пропозицію |
776 | [Arguments] ${username} ${tender_uaid} | 776 | [Arguments] ${username} ${tender_uaid} |
777 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 777 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
778 | - ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id} | ||
779 | - ${token}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].access.token} | 778 | + ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid'].data.id} |
779 | + ${token}= Get Variable Value ${USERS.users['${username}']['access_token']} | ||
780 | ${reply}= Call Method ${USERS.users['${username}'].client} get_bid ${tender} ${bid_id} ${token} | 780 | ${reply}= Call Method ${USERS.users['${username}'].client} get_bid ${tender} ${bid_id} ${token} |
781 | ${reply}= munch_dict arg=${reply} | 781 | ${reply}= munch_dict arg=${reply} |
782 | [return] ${reply} | 782 | [return] ${reply} |
Please
register
or
login
to post a comment