Commit a8d214d6a18e03c4bb6ae25216113ca5b2375080
Merge pull request #158 from mykhaly/delete_similar_functions
Clear service_keywords.py from outdated functions
Showing
2 changed files
with
1 additions
and
52 deletions
| ... | ... | @@ -442,7 +442,7 @@ Library openprocurement_client_helper.py |
| 442 | 442 | Підтвердити постачальника |
| 443 | 443 | [Documentation] |
| 444 | 444 | ... [Arguments] Username, tender uaid and number of the award to confirm |
| 445 | - ... Find tender using uaid, get data from confirm_supplier and call patch_award | |
| 445 | + ... Find tender using uaid, create dict with confirmation data and call patch_award | |
| 446 | 446 | ... [Return] Nothing |
| 447 | 447 | [Arguments] ${username} ${tender_uaid} ${award_num} |
| 448 | 448 | ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ... | ... |
| ... | ... | @@ -322,57 +322,6 @@ def create_data_dict(path_to_value=None, value=None): |
| 322 | 322 | return data_dict |
| 323 | 323 | |
| 324 | 324 | |
| 325 | -def cancel_tender(cancellation_reason): | |
| 326 | - return { | |
| 327 | - 'data': { | |
| 328 | - 'reason': cancellation_reason | |
| 329 | - } | |
| 330 | - } | |
| 331 | - | |
| 332 | - | |
| 333 | -def confirm_supplier(supplier_id): | |
| 334 | - return { | |
| 335 | - "data": { | |
| 336 | - "status": "active", | |
| 337 | - "id": supplier_id | |
| 338 | - } | |
| 339 | - } | |
| 340 | - | |
| 341 | - | |
| 342 | -def change_cancellation_document_field(key, value): | |
| 343 | - data = { | |
| 344 | - "data": { | |
| 345 | - key: value | |
| 346 | - } | |
| 347 | - } | |
| 348 | - return data | |
| 349 | - | |
| 350 | - | |
| 351 | -def confirm_cancellation(cancellation_id): | |
| 352 | - data = { | |
| 353 | - "data": { | |
| 354 | - "status": "active", | |
| 355 | - "id": cancellation_id | |
| 356 | - } | |
| 357 | - } | |
| 358 | - return data | |
| 359 | - | |
| 360 | - | |
| 361 | -def confirm_contract(contract_id): | |
| 362 | - data = { | |
| 363 | - "data": { | |
| 364 | - "id": contract_id, | |
| 365 | - "status": "active" | |
| 366 | - } | |
| 367 | - } | |
| 368 | - return data | |
| 369 | - | |
| 370 | - | |
| 371 | -def additional_items_data(tender_id, access_token): | |
| 372 | - data = {"access": {"token": access_token}, "data": {"id": tender_id, "items": [{"unit": {"code": "MON", "name": "month"}, "quantity": 9}]}} | |
| 373 | - return data | |
| 374 | - | |
| 375 | - | |
| 376 | 325 | def munch_dict(arg=None, data=False): |
| 377 | 326 | if arg is None: |
| 378 | 327 | arg = {} | ... | ... |
Please
register
or
login
to post a comment