Showing
1 changed file
with
10 additions
and
10 deletions
... | ... | @@ -725,7 +725,7 @@ Library openprocurement_client_helper.py |
725 | 725 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
726 | 726 | ${bid}= openprocurement_client.Отримати пропозицію ${username} ${tender_uaid} |
727 | 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 | 729 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid ${tender} ${bid} |
730 | 730 | Log ${reply} |
731 | 731 | |
... | ... | @@ -734,15 +734,15 @@ Library openprocurement_client_helper.py |
734 | 734 | [Arguments] ${username} ${tender_uaid} |
735 | 735 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
736 | 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 | 738 | Log ${reply} |
739 | 739 | |
740 | 740 | |
741 | 741 | Завантажити документ в ставку |
742 | 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 | 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 | 746 | ${response}= Call Method ${USERS.users['${username}'].client} upload_bid_document ${path} ${tender} ${bid_id} ${doc_type} |
747 | 747 | ${uploaded_file} = Create Dictionary |
748 | 748 | ... filepath=${path} |
... | ... | @@ -753,9 +753,9 @@ Library openprocurement_client_helper.py |
753 | 753 | |
754 | 754 | Змінити документ в ставці |
755 | 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 | 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 | 759 | ${response}= Call Method ${USERS.users['${username}'].client} update_bid_document ${path} ${tender} ${bid_id} ${docid} |
760 | 760 | ${uploaded_file} = Create Dictionary |
761 | 761 | ... filepath=${path} |
... | ... | @@ -766,17 +766,17 @@ Library openprocurement_client_helper.py |
766 | 766 | |
767 | 767 | Змінити документацію в ставці |
768 | 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 | 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 | 772 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid_document ${tender} ${doc_data} ${bid_id} ${docid} |
773 | 773 | |
774 | 774 | |
775 | 775 | Отримати пропозицію |
776 | 776 | [Arguments] ${username} ${tender_uaid} |
777 | 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 | 780 | ${reply}= Call Method ${USERS.users['${username}'].client} get_bid ${tender} ${bid_id} ${token} |
781 | 781 | ${reply}= munch_dict arg=${reply} |
782 | 782 | [return] ${reply} | ... | ... |
Please
register
or
login
to post a comment