Showing
1 changed file
with
11 additions
and
0 deletions
... | ... | @@ -154,6 +154,14 @@ Library openprocurement_client_helper.py |
154 | 154 | Подати цінову пропозицію |
155 | 155 | [Arguments] ${username} ${tender_uaid} ${bid} |
156 | 156 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
157 | + ${lots}= Get Variable Value ${tender.data.lots} | |
158 | + ${bid}= Run Keyword If ${lots} test_lots_bid_data | |
159 | + ... ELSE Set Variable ${bid} | |
160 | + Run Keyword If ${lots} | |
161 | + ... Run Keywords | |
162 | + ... Remove From List ${bid.data.lotValues} 1 | |
163 | + ... AND | |
164 | + ... Set_To_Object ${bid.data.lotValues[0]} relatedLot ${lots[0].id} | |
157 | 165 | ${biddingresponse}= Call Method ${USERS.users['${username}'].client} create_bid ${tender} ${bid} |
158 | 166 | Set To Dictionary ${USERS.users['${username}'].bidresponses['bid'].data} id=${biddingresponse['data']['id']} |
159 | 167 | Log ${biddingresponse} |
... | ... | @@ -163,6 +171,9 @@ Library openprocurement_client_helper.py |
163 | 171 | Змінити цінову пропозицію |
164 | 172 | [Arguments] ${username} ${tender_uaid} ${fieldname} ${fieldvalue} |
165 | 173 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
174 | + ${lots}= Get Variable Value ${tender.data.lots} | |
175 | + ${fieldname}= Run Keyword If ${lots} Set Variable lotValues.0.${fieldname} | |
176 | + ... ELSE Set Variable ${fieldname} | |
166 | 177 | ${bid}= openprocurement_client.Отримати пропозицію ${username} ${tender_uaid} |
167 | 178 | Set_To_Object ${bid.data} ${fieldname} ${fieldvalue} |
168 | 179 | ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} | ... | ... |
Please
register
or
login
to post a comment