Commit 32890a107f8579b6696481448a5a8e75102adb84
Committed by
Andrew Yanovych
1 parent
f6fa8fa2
Approve create tender for Quinta Broker
Showing
1 changed file
with
20 additions
and
1 deletions
... | ... | @@ -28,7 +28,7 @@ ${question_id} 0 |
28 | 28 | Log access_token: ${access_token} |
29 | 29 | Log tender_id: ${TENDER_DATA.data.id} |
30 | 30 | Set Global Variable ${TENDER_DATA} |
31 | - [return] ${TENDER_DATA} | |
31 | + [return] ${TENDER_DATA.data.id} | |
32 | 32 | |
33 | 33 | Створити багатопредметний тендер |
34 | 34 | [Arguments] @{ARGUMENTS} |
... | ... | @@ -271,6 +271,25 @@ ${question_id} 0 |
271 | 271 | Set_To_Object ${TENDER_DATA.data} documents.title ${filename} |
272 | 272 | ${reply}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} upload_bid_document ${filename} ${tender} ${ARGUMENTS[2]} |
273 | 273 | Log object data ${reply} reply |
274 | + [return] ${reply} | |
275 | + | |
276 | +Змінити документ в ставці | |
277 | + [Documentation] | |
278 | + ... ${ARGUMENTS[0]} == username | |
279 | + ... ${ARGUMENTS[1]} == token | |
280 | + ... ${ARGUMENTS[2]} == bid_id | |
281 | + ... ${ARGUMENTS[3]} == file_id | |
282 | + [Arguments] @{ARGUMENTS} | |
283 | + log ${ARGUMENTS[0]} | |
284 | + log ${ARGUMENTS[1]} | |
285 | + log ${ARGUMENTS[2]} | |
286 | + log ${ARGUMENTS[3]} | |
287 | + ${tender}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} get_tender ${TENDER_DATA.data.id} | |
288 | + ${tender}= set_access_key ${tender} ${ARGUMENTS[1]} | |
289 | + ${filename}= Set Variable newfile.txt | |
290 | + Set_To_Object ${TENDER_DATA.data} documents.title ${filename} | |
291 | + ${reply}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} update_bid_document ${filename} ${tender} ${ARGUMENTS[2]} ${ARGUMENTS[3]} | |
292 | + Log object data ${reply} reply | |
274 | 293 | |
275 | 294 | Завантажити документ |
276 | 295 | [Documentation] | ... | ... |
Please
register
or
login
to post a comment