Commit 6d72b09c312fc37fa965f94213a5d25bb6c25241

Authored by mykhaly
1 parent dc831e45

Add caching of provider access token

Because we need this data in award complaints
... ... @@ -381,6 +381,7 @@ Library openprocurement_client_helper.py
381 381 [Arguments] ${username} ${tender_uaid} ${bid}
382 382 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
383 383 ${reply}= Call Method ${USERS.users['${username}'].client} create_bid ${tender} ${bid}
  384 + Set To Dictionary ${USERS.users['${username}']} access_token=${reply['access']['token']}
384 385 Set To Dictionary ${USERS.users['${username}'].bidresponses['bid'].data} id=${reply['data']['id']}
385 386 Log ${reply}
386 387 [return] ${reply}
... ...
Please register or login to post a comment