Showing
1 changed file
with
8 additions
and
7 deletions
@@ -295,10 +295,10 @@ ${question_id} 0 | @@ -295,10 +295,10 @@ ${question_id} 0 | ||
295 | ${created_file_path}= create_file ${filecontent} | 295 | ${created_file_path}= create_file ${filecontent} |
296 | ${tender}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} get_tender ${TENDER_DATA.data.id} | 296 | ${tender}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} get_tender ${TENDER_DATA.data.id} |
297 | ${tender}= set_access_key ${tender} ${ARGUMENTS[1]} | 297 | ${tender}= set_access_key ${tender} ${ARGUMENTS[1]} |
298 | - ${reply}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} upload_bid_document ${created_file_path} ${tender} ${ARGUMENTS[2]} | ||
299 | - | ||
300 | - Log object data ${reply} reply | ||
301 | - [return] ${reply} ${filecontent} | 298 | + ${responce}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} upload_bid_document ${created_file_path} ${tender} ${ARGUMENTS[2]} |
299 | + ${uploaded_file} = Create Dictionary filepath ${created_file_path} filecontent ${filecontent} upload_responce ${responce} | ||
300 | + Log object data ${uploaded_file} | ||
301 | + [return] ${uploaded_file} | ||
302 | 302 | ||
303 | Змінити документ в ставці | 303 | Змінити документ в ставці |
304 | [Documentation] | 304 | [Documentation] |
@@ -359,6 +359,7 @@ ${question_id} 0 | @@ -359,6 +359,7 @@ ${question_id} 0 | ||
359 | log ${ARGUMENTS[2]} | 359 | log ${ARGUMENTS[2]} |
360 | ${tenderID}= openprocurement_client.отримати internal id по UAid ${ARGUMENTS[0]} ${ARGUMENTS[1]} | 360 | ${tenderID}= openprocurement_client.отримати internal id по UAid ${ARGUMENTS[0]} ${ARGUMENTS[1]} |
361 | ${tender}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} get_tender ${tenderID} | 361 | ${tender}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} get_tender ${tenderID} |
362 | - ${reply}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} get_file ${tender} ${ARGUMENTS[2]} ${ARGUMENTS[3]} | ||
363 | - log ${reply} | ||
364 | - [return] ${reply} | ||
362 | + ${contents} ${filename}= Call Method ${USERS.users['${ARGUMENTS[0]}'].client} get_file ${tender} ${ARGUMENTS[2]} ${ARGUMENTS[3]} | ||
363 | + log ${contents} | ||
364 | + log ${filename} | ||
365 | + [return] ${contents} ${filename} |
Please
register
or
login
to post a comment