Commit efbcbc685561da2492cd01b5c7a11bd25e719730
1 parent
d90b3751
Update keywords to work with updated `create_fake_doc`
And remove file after uploading.
Showing
1 changed file
with
6 additions
and
4 deletions
... | ... | @@ -808,16 +808,18 @@ Resource resource.robot |
808 | 808 | |
809 | 809 | |
810 | 810 | Можливість завантажити документ в пропозицію користувачем ${username} |
811 | - ${filepath}= create_fake_doc | |
812 | - ${bid_doc_upload}= Run As ${username} Завантажити документ в ставку ${filepath} ${TENDER['TENDER_UAID']} | |
811 | + ${file_path} ${file_name} ${file_content}= create_fake_doc | |
812 | + ${bid_doc_upload}= Run As ${username} Завантажити документ в ставку ${file_path} ${TENDER['TENDER_UAID']} | |
813 | 813 | Set To Dictionary ${USERS.users['${username}'].bidresponses} bid_doc_upload=${bid_doc_upload} |
814 | + Remove File ${file_path} | |
814 | 815 | |
815 | 816 | |
816 | 817 | Можливість змінити документацію цінової пропозиції користувачем ${username} |
817 | - ${filepath}= create_fake_doc | |
818 | + ${file_path} ${file_name} ${file_content}= create_fake_doc | |
818 | 819 | ${docid}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid_doc_upload']['upload_response'].data.id} |
819 | - ${bid_doc_modified}= Run As ${username} Змінити документ в ставці ${filepath} ${docid} | |
820 | + ${bid_doc_modified}= Run As ${username} Змінити документ в ставці ${file_path} ${docid} | |
820 | 821 | Set To Dictionary ${USERS.users['${username}'].bidresponses} bid_doc_modified=${bid_doc_modified} |
822 | + Remove File ${file_path} | |
821 | 823 | |
822 | 824 | ############################################################################################## |
823 | 825 | # Cancellations | ... | ... |
Please
register
or
login
to post a comment