Commit 133b10858c74522d3f6d87b1ca8cf2d6d0d9b7cc
1 parent
d394c4cc
Clear service_keywords.py from outdated functions
Emend documentation to `Підтвердити постачальника` keyword
Showing
2 changed files
with
1 additions
and
52 deletions
... | ... | @@ -415,7 +415,7 @@ Library openprocurement_client_helper.py |
415 | 415 | Підтвердити постачальника |
416 | 416 | [Documentation] |
417 | 417 | ... [Arguments] Username, tender uaid and number of the award to confirm |
418 | - ... Find tender using uaid, get data from confirm_supplier and call patch_award | |
418 | + ... Find tender using uaid, create dict with confirmation data and call patch_award | |
419 | 419 | ... [Return] Nothing |
420 | 420 | [Arguments] ${username} ${tender_uaid} ${award_num} |
421 | 421 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ... | ... |
... | ... | @@ -334,57 +334,6 @@ def create_data_dict(path_to_value=None, value=None): |
334 | 334 | return data_dict |
335 | 335 | |
336 | 336 | |
337 | -def cancel_tender(cancellation_reason): | |
338 | - return { | |
339 | - 'data': { | |
340 | - 'reason': cancellation_reason | |
341 | - } | |
342 | - } | |
343 | - | |
344 | - | |
345 | -def confirm_supplier(supplier_id): | |
346 | - return { | |
347 | - "data": { | |
348 | - "status": "active", | |
349 | - "id": supplier_id | |
350 | - } | |
351 | - } | |
352 | - | |
353 | - | |
354 | -def change_cancellation_document_field(key, value): | |
355 | - data = { | |
356 | - "data": { | |
357 | - key: value | |
358 | - } | |
359 | - } | |
360 | - return data | |
361 | - | |
362 | - | |
363 | -def confirm_cancellation(cancellation_id): | |
364 | - data = { | |
365 | - "data": { | |
366 | - "status": "active", | |
367 | - "id": cancellation_id | |
368 | - } | |
369 | - } | |
370 | - return data | |
371 | - | |
372 | - | |
373 | -def confirm_contract(contract_id): | |
374 | - data = { | |
375 | - "data": { | |
376 | - "id": contract_id, | |
377 | - "status": "active" | |
378 | - } | |
379 | - } | |
380 | - return data | |
381 | - | |
382 | - | |
383 | -def additional_items_data(tender_id, access_token): | |
384 | - data = {"access": {"token": access_token}, "data": {"id": tender_id, "items": [{"unit": {"code": "MON", "name": "month"}, "quantity": 9}]}} | |
385 | - return data | |
386 | - | |
387 | - | |
388 | 337 | def munch_dict(arg=None, data=False): |
389 | 338 | if arg is None: |
390 | 339 | arg = {} | ... | ... |
Please
register
or
login
to post a comment