Commit 0063b7c656e846a979d1ae47ee86ee0e8e1e726f

Authored by AlexDiatlov
1 parent 49e78494

keyword create dict bir doc/post criteria response in bid

... ... @@ -2,6 +2,7 @@ coding: utf-8
2 2 *** Settings ***
3 3 Library openprocurement_client_helper.py
4 4 Library openprocurement_client.utils
  5 +Library Collections
5 6
6 7
7 8 *** Keywords ***
... ... @@ -1742,6 +1743,9 @@ Library openprocurement_client.utils
1742 1743 ... doc_type=${doc_type}
1743 1744 ... access_token=${tender.access.token}
1744 1745 ... subitem_name=${doc_name}
  1746 + Log ${response}
  1747 + Set to Dictionary ${USERS.users['${username}']} documents=${response}
  1748 + Log ${USERS.users['${username}'].documents}
1745 1749 ${uploaded_file} = Create Dictionary
1746 1750 ... filepath=${path}
1747 1751 ... upload_response=${response}
... ... @@ -1883,6 +1887,20 @@ Library openprocurement_client.utils
1883 1887 [return] ${bid.data.${field}}
1884 1888
1885 1889
  1890 +Завантажити відповіді на критерії закупівлі
  1891 + [Arguments] ${username} ${tender_uaid} ${bid_criteria}
  1892 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
  1893 + ${bid_id}= Get Variable Value ${USERS.users['${username}'].bidresponses['bid'].data.id}
  1894 + ${token}= Get Variable Value ${USERS.users['${username}'].access_token}
  1895 + ${reply}= Call Method ${USERS.users['${username}'].client} create_bid_criteria_response
  1896 + ... ${tender.data.id}
  1897 + ... ${bid_criteria}
  1898 + ... ${bid_id}
  1899 + ... ${token}
  1900 + ${reply}= munch_dict arg=${reply}
  1901 + [return] ${reply}
  1902 +
  1903 +
1886 1904 ##############################################################################
1887 1905 # Qualification operations
1888 1906 ##############################################################################
... ...
Please register or login to post a comment