Commit 6240fc95dccdcd0a477b64527104f14892b35f31

Authored by mykhaly
1 parent 56fcc6dc

Add `Отримати документ до скарги` keyword

Cause it would be better for brokers to have different keywords for
different documents.
@@ -661,6 +661,14 @@ Library openprocurement_client_helper.py @@ -661,6 +661,14 @@ Library openprocurement_client_helper.py
661 Log ${document} 661 Log ${document}
662 [Return] ${document['${field_name}']} 662 [Return] ${document['${field_name}']}
663 663
  664 +
  665 +Отримати документ до скарги
  666 + [Arguments] ${username} ${tender_uaid} ${doc_id}
  667 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
  668 + ${document}= get_document_by_id ${tender.data} ${doc_id}
  669 + ${filename}= download_file_from_url ${document.url} ${OUTPUT_DIR}${/}${document.title}
  670 + [return] ${filename}
  671 +
664 ############################################################################## 672 ##############################################################################
665 # Bid operations 673 # Bid operations
666 ############################################################################## 674 ##############################################################################
Please register or login to post a comment