Commit d5e1adec7ddc6db187494173cc57b216ad2ac39f
Committed by
GitHub
Merge pull request #280 from kosaniak/temp_branch2
Add tender_uaid to arguments
Showing
3 changed files
with
6 additions
and
6 deletions
@@ -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 |
@@ -870,7 +870,7 @@ Resource resource.robot | @@ -870,7 +870,7 @@ Resource resource.robot | ||
870 | Можливість змінити документацію цінової пропозиції користувачем ${username} | 870 | Можливість змінити документацію цінової пропозиції користувачем ${username} |
871 | ${file_path} ${file_name} ${file_content}= create_fake_doc | 871 | ${file_path} ${file_name} ${file_content}= create_fake_doc |
872 | ${docid}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid_doc_upload']['upload_response'].data.id} | 872 | ${docid}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid_doc_upload']['upload_response'].data.id} |
873 | - ${bid_doc_modified}= Run As ${username} Змінити документ в ставці ${file_path} ${docid} | 873 | + ${bid_doc_modified}= Run As ${username} Змінити документ в ставці ${TENDER['TENDER_UAID']} ${file_path} ${docid} |
874 | Set To Dictionary ${USERS.users['${username}'].bidresponses} bid_doc_modified=${bid_doc_modified} | 874 | Set To Dictionary ${USERS.users['${username}'].bidresponses} bid_doc_modified=${bid_doc_modified} |
875 | Remove File ${file_path} | 875 | Remove File ${file_path} |
876 | 876 |
@@ -736,9 +736,9 @@ Library openprocurement_client_helper.py | @@ -736,9 +736,9 @@ Library openprocurement_client_helper.py | ||
736 | 736 | ||
737 | 737 | ||
738 | Змінити документ в ставці | 738 | Змінити документ в ставці |
739 | - [Arguments] ${username} ${path} ${docid} | 739 | + [Arguments] ${username} ${tender_uaid} ${path} ${docid} |
740 | ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id} | 740 | ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id} |
741 | - ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${TENDER['TENDER_UAID']} | 741 | + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
742 | ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} | 742 | ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} |
743 | ${response}= Call Method ${USERS.users['${username}'].client} update_bid_document ${path} ${tender} ${bid_id} ${docid} | 743 | ${response}= Call Method ${USERS.users['${username}'].client} update_bid_document ${path} ${tender} ${bid_id} ${docid} |
744 | ${uploaded_file} = Create Dictionary filepath=${path} upload_response=${response} | 744 | ${uploaded_file} = Create Dictionary filepath=${path} upload_response=${response} |
@@ -747,9 +747,9 @@ Library openprocurement_client_helper.py | @@ -747,9 +747,9 @@ Library openprocurement_client_helper.py | ||
747 | 747 | ||
748 | 748 | ||
749 | Змінити документацію в ставці | 749 | Змінити документацію в ставці |
750 | - [Arguments] ${username} ${doc_data} ${docid} | 750 | + [Arguments] ${username} ${tender_uaid} ${doc_data} ${docid} |
751 | ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id} | 751 | ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['resp'].data.id} |
752 | - ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${TENDER['TENDER_UAID']} | 752 | + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
753 | ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} | 753 | ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} |
754 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid_document ${tender} ${doc_data} ${bid_id} ${docid} | 754 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_bid_document ${tender} ${doc_data} ${bid_id} ${docid} |
755 | [return] ${reply} | 755 | [return] ${reply} |
Please
register
or
login
to post a comment