Showing
1 changed file
with
4 additions
and
1 deletions
| @@ -744,7 +744,10 @@ Library openprocurement_client.utils | @@ -744,7 +744,10 @@ Library openprocurement_client.utils | ||
| 744 | \ Set To Dictionary ${bid.data.parameters[${index}]} code=${code} | 744 | \ Set To Dictionary ${bid.data.parameters[${index}]} code=${code} |
| 745 | ${reply}= Call Method ${USERS.users['${username}'].client} create_bid ${tender} ${bid} | 745 | ${reply}= Call Method ${USERS.users['${username}'].client} create_bid ${tender} ${bid} |
| 746 | Log ${reply} | 746 | Log ${reply} |
| 747 | - ${status}= Set Variable If '${MODE}'=='openeu' pending active | 747 | + Set To Dictionary ${USERS.users['${username}']} bid_access_token=${reply.access.token} |
| 748 | + ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bid_access_token} | ||
| 749 | + ${procurementMethodType}= Get variable value ${USERS.users['${username}'].tender_data.data.procurementMethodType} | ||
| 750 | + ${status}= Set Variable If 'EU' in '${procurementMethodType}' or '${procurementMethodType}'=='competitiveDialogueUA' pending active | ||
| 748 | Set To Dictionary ${reply['data']} status=${status} | 751 | Set To Dictionary ${reply['data']} status=${status} |
| 749 | ${reply_active}= Call Method ${USERS.users['${username}'].client} patch_bid ${tender} ${reply} | 752 | ${reply_active}= Call Method ${USERS.users['${username}'].client} patch_bid ${tender} ${reply} |
| 750 | Set To Dictionary ${USERS.users['${username}']} access_token=${reply['access']['token']} | 753 | Set To Dictionary ${USERS.users['${username}']} access_token=${reply['access']['token']} |
Please
register
or
login
to post a comment