Commit 4b78d613ae051879adaf32146348c94a1b3941fa

Authored by ivanka12
1 parent 8c184733

update keywords for СloseFrameworkAgreementUA

... ... @@ -1527,7 +1527,16 @@ Library openprocurement_client.utils
1527 1527 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
1528 1528 Log ${tender}
1529 1529 Log ${contract_data}
1530   - ${reply}= Call Method ${USERS.users['${username}'].client} patch_agreement_contract ${tender} ${tender.data.agreements[0].id} ${contract_data}
  1530 + ${tender_id}= Set Variable ${tender.data.id}
  1531 + ${agreement_id}= Set Variable ${tender.data.agreements[0].id}
  1532 + ${contract_id}= Set Variable ${contract_data.data.id}
  1533 + ${access_token}= Set Variable ${tender.access.token}
  1534 + ${reply}= Call Method ${USERS.users['${username}'].client} patch_agreement_contract
  1535 + ... ${tender_id}
  1536 + ... ${agreement_id}
  1537 + ... ${contract_data}
  1538 + ... contract_id=${contract_id}
  1539 + ... access_token=${access_token}
1531 1540 Log ${reply}
1532 1541
1533 1542
... ... @@ -1537,7 +1546,14 @@ Library openprocurement_client.utils
1537 1546 ${agreement}= Create Dictionary data=${tender.data.agreements[0]}
1538 1547 Set To Dictionary ${agreement.data} status=active
1539 1548 Set To Dictionary ${agreement.data} period=${period}
1540   - ${reply}= Call Method ${USERS.users['${username}'].client} patch_agreement ${tender} ${agreement}
  1549 + ${tender_id}= Set Variable ${tender.data.id}
  1550 + ${agreement_id}= Set Variable ${tender.data.agreements[0].id}
  1551 + ${access_token}= Set Variable ${tender.access.token}
  1552 + ${reply}= Call Method ${USERS.users['${username}'].client} patch_agreement
  1553 + ... ${tender_id}
  1554 + ... ${agreement}
  1555 + ... ${agreement_id}
  1556 + ... access_token=${access_token}
1541 1557 Log ${reply}
1542 1558
1543 1559
... ...
Please register or login to post a comment