Commit d097ff6c54e6e82aead268e4f589f2aa3e094c2c

Authored by kosaniak
1 parent aaa52d8b

Add tender_uaid to arguments

@@ -45,7 +45,7 @@ Resource base_keywords.robot @@ -45,7 +45,7 @@ Resource base_keywords.robot
45 ${privat_doc}= create_data_dict data.confidentialityRationale ${confidentialityRationale} 45 ${privat_doc}= create_data_dict data.confidentialityRationale ${confidentialityRationale}
46 Set To Dictionary ${privat_doc.data} confidentiality=buyerOnly 46 Set To Dictionary ${privat_doc.data} confidentiality=buyerOnly
47 ${docid}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid_doc_upload']['upload_response'].data.id} 47 ${docid}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid_doc_upload']['upload_response'].data.id}
48 - ${bid_doc_modified}= Run As ${username} Змінити документацію в ставці ${privat_doc} ${docid} 48 + ${bid_doc_modified}= Run As ${username} Змінити документацію в ставці ${TENDER['TENDER_UAID']} ${privat_doc} ${docid}
49 Set To Dictionary ${USERS.users['${username}'].bidresponses} bid_doc_modified=${bid_doc_modified} 49 Set To Dictionary ${USERS.users['${username}'].bidresponses} bid_doc_modified=${bid_doc_modified}
50 50
51 51
@@ -813,7 +813,7 @@ Resource resource.robot @@ -813,7 +813,7 @@ Resource resource.robot
813 Можливість змінити документацію цінової пропозиції користувачем ${username} 813 Можливість змінити документацію цінової пропозиції користувачем ${username}
814 ${file_path} ${file_name} ${file_content}= create_fake_doc 814 ${file_path} ${file_name} ${file_content}= create_fake_doc
815 ${docid}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid_doc_upload']['upload_response'].data.id} 815 ${docid}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid_doc_upload']['upload_response'].data.id}
816 - ${bid_doc_modified}= Run As ${username} Змінити документ в ставці ${file_path} ${docid} 816 + ${bid_doc_modified}= Run As ${username} Змінити документ в ставці ${TENDER['TENDER_UAID']} ${file_path} ${docid}
817 Set To Dictionary ${USERS.users['${username}'].bidresponses} bid_doc_modified=${bid_doc_modified} 817 Set To Dictionary ${USERS.users['${username}'].bidresponses} bid_doc_modified=${bid_doc_modified}
818 Remove File ${file_path} 818 Remove File ${file_path}
819 819
@@ -727,9 +727,9 @@ Library openprocurement_client_helper.py @@ -727,9 +727,9 @@ Library openprocurement_client_helper.py
727 727
728 728
729 Змінити документ в ставці 729 Змінити документ в ставці
730 - [Arguments] ${username} ${path} ${docid} 730 + [Arguments] ${username} ${tender_uaid} ${path} ${docid}
731 ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id} 731 ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id}
732 - ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${TENDER['TENDER_UAID']} 732 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
733 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} 733 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token}
734 ${response}= Call Method ${USERS.users['${username}'].client} update_bid_document ${path} ${tender} ${bid_id} ${docid} 734 ${response}= Call Method ${USERS.users['${username}'].client} update_bid_document ${path} ${tender} ${bid_id} ${docid}
735 ${uploaded_file} = Create Dictionary filepath=${path} upload_response=${response} 735 ${uploaded_file} = Create Dictionary filepath=${path} upload_response=${response}
@@ -738,9 +738,9 @@ Library openprocurement_client_helper.py @@ -738,9 +738,9 @@ Library openprocurement_client_helper.py
738 738
739 739
740 Змінити документацію в ставці 740 Змінити документацію в ставці
741 - [Arguments] ${username} ${doc_data} ${docid} 741 + [Arguments] ${username} ${tender_uaid} ${doc_data} ${docid}
742 ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id} 742 ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id}
743 - ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${TENDER['TENDER_UAID']} 743 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
744 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} 744 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token}
745 ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid_document ${tender} ${doc_data} ${bid_id} ${docid} 745 ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid_document ${tender} ${doc_data} ${bid_id} ${docid}
746 [return] ${reply} 746 [return] ${reply}
Please register or login to post a comment