...
|
...
|
@@ -298,6 +298,7 @@ Library openprocurement_client.utils |
298
|
298
|
Remove From List ${tender.data['items']} ${item_index}
|
299
|
299
|
Call Method ${USERS.users['${username}'].client} patch_tender ${tender}
|
300
|
300
|
|
|
301
|
+
|
301
|
302
|
Видалити предмет закупівлі плану
|
302
|
303
|
[Arguments] ${username} ${tender_uaid} ${item_id} ${lot_id}=${Empty}
|
303
|
304
|
${tender}= openprocurement_client.Пошук плану по ідентифікатору ${username} ${tender_uaid}
|
...
|
...
|
@@ -305,6 +306,33 @@ Library openprocurement_client.utils |
305
|
306
|
Remove From List ${tender.data['items']} ${item_index}
|
306
|
307
|
Call Method ${USERS.users['${username}'].client} patch_plan ${tender}
|
307
|
308
|
|
|
309
|
+
|
|
310
|
+Видалити поле з донора
|
|
311
|
+ [Arguments] ${username} ${tender_uaid} ${funders_index} ${field} ${field_1}=${Empty}
|
|
312
|
+ ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
|
|
313
|
+ Delete From Dictionary ${tender.data['funders'][${funders_index}]} ${field}
|
|
314
|
+ Log ${tender.data['funders'][${funders_index}]}
|
|
315
|
+ ${reply}= Call Method ${USERS.users['${username}'].client} patch_tender ${tender}
|
|
316
|
+ Dictionary Should Not Contain Path ${reply.data['funders'][${funders_index}]} ${field}
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+Видалити донора
|
|
320
|
+ [Arguments] ${username} ${tender_uaid} ${funders_index}
|
|
321
|
+ ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
|
|
322
|
+ Remove From List ${tender.data.funders} ${funders_index}
|
|
323
|
+ Log ${tender}
|
|
324
|
+ ${reply}= Call Method ${USERS.users['${username}'].client} patch_tender ${tender}
|
|
325
|
+ Log ${reply}
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+Додати донора
|
|
329
|
+ [Arguments] ${username} ${tender_uaid} ${funders_data}
|
|
330
|
+ ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
|
|
331
|
+ Set To Dictionary ${tender.data} funders=@{EMPTY}
|
|
332
|
+ Append To List ${tender.data.funders} ${funders_data}
|
|
333
|
+ Log ${tender}
|
|
334
|
+ ${reply}= Call Method ${USERS.users['${username}'].client} patch_tender ${tender}
|
|
335
|
+
|
308
|
336
|
##############################################################################
|
309
|
337
|
# Lot operations
|
310
|
338
|
##############################################################################
|
...
|
...
|
|