Commit 6c47982bb54ede6b53e079fd0064cd462562f024
Committed by
GitHub
Merge pull request #977 from ivanka12/dasu
update keywords for dasu
Showing
3 changed files
with
4 additions
and
6 deletions
... | ... | @@ -195,13 +195,13 @@ Library openprocurement_client.utils |
195 | 195 | |
196 | 196 | Оприлюднити рішення про початок моніторингу |
197 | 197 | [Arguments] ${username} ${monitoring_uaid} ${file_path} ${monitoring_data} |
198 | - ${monitoring}= openprocurement_client.Пошук об'єкта моніторингу по ідентифікатору ${username} ${monitoring_uaid} | |
199 | 198 | ${document}= Call Method ${USERS.users['${username}'].dasu_client} upload_obj_document ${file_path} ${USERS.users['${username}'].monitoring_data} |
200 | 199 | ${documents}= Create List |
201 | 200 | Append To List ${documents} ${document.data} |
202 | 201 | Set To Dictionary ${monitoring_data.data.decision} documents=${documents} |
203 | 202 | Log ${monitoring_data} |
204 | - ${reply}= Call Method ${USERS.users['${username}'].dasu_client} patch_monitoring ${monitoring_data} ${monitoring.data.id} | |
203 | + ${monitoring_id}= Set Variable ${USERS.users['${username}'].monitoring_data.data.id} | |
204 | + ${reply}= Call Method ${USERS.users['${username}'].dasu_client} patch_monitoring ${monitoring_data} ${monitoring_id} | |
205 | 205 | Log ${reply} |
206 | 206 | Set To Dictionary ${USERS.users['${dasu_user}'].initial_data.data} decision=${monitoring_data.data.decision} |
207 | 207 | Set To Dictionary ${USERS.users['${username}']} monitoring_data=${reply} |
... | ... | @@ -297,8 +297,8 @@ Library openprocurement_client.utils |
297 | 297 | |
298 | 298 | Змінити статус об’єкта моніторингу |
299 | 299 | [Arguments] ${username} ${monitoring_uaid} ${status_data} |
300 | - ${monitoring}= openprocurement_client.Пошук об'єкта моніторингу по ідентифікатору ${username} ${monitoring_uaid} | |
301 | - ${reply}= Call Method ${USERS.users['${username}'].dasu_client} patch_monitoring ${status_data} ${monitoring.data.id} | |
300 | + ${monitoring_id}= Set Variable ${USERS.users['${username}'].monitoring_data.data.id} | |
301 | + ${reply}= Call Method ${USERS.users['${username}'].dasu_client} patch_monitoring ${status_data} ${monitoring_id} | |
302 | 302 | Log ${reply} |
303 | 303 | Set To Dictionary ${USERS.users['${username}']} monitoring_data=${reply} |
304 | 304 | [return] ${reply} | ... | ... |
... | ... | @@ -733,7 +733,6 @@ ${MOZ_INTEGRATION} ${False} |
733 | 733 | ... ${USERS.users['${dasu_user}'].broker} |
734 | 734 | ... cancelled |
735 | 735 | ... critical |
736 | - [Setup] Дочекатись синхронізації з ДАСУ ${dasu_user} | |
737 | 736 | [Teardown] Оновити DASU_LAST_MODIFICATION_DATE |
738 | 737 | Можливість змінити статус об’єкта моніторингу на cancelled |
739 | 738 | ... | ... |
Please
register
or
login
to post a comment