Commit cb3ce62cb81c3b596a84dfc6208e514ca572085e

Authored by kosaniak
1 parent 61b23fe7

Add openprocurement_client before keywords from openprocurement_client.robot

@@ -427,14 +427,14 @@ Library openprocurement_client_helper.py @@ -427,14 +427,14 @@ Library openprocurement_client_helper.py
427 ... Можна створити вимогу як з документацією, так і без неї 427 ... Можна створити вимогу як з документацією, так і без неї
428 [Arguments] ${username} ${tender_uaid} ${claim} ${document}=${None} 428 [Arguments] ${username} ${tender_uaid} ${claim} ${document}=${None}
429 429
430 - ${complaintID}= Створити чернетку вимоги про виправлення умов закупівлі 430 + ${complaintID}= openprocurement_client.Створити чернетку вимоги про виправлення умов закупівлі
431 ... ${username} 431 ... ${username}
432 ... ${tender_uaid} 432 ... ${tender_uaid}
433 ... ${claim} 433 ... ${claim}
434 434
435 ${status}= Run keyword and return status Should not be equal ${document} ${None} 435 ${status}= Run keyword and return status Should not be equal ${document} ${None}
436 Log ${status} 436 Log ${status}
437 - Run keyword if ${status} == ${True} Завантажити документацію до вимоги 437 + Run keyword if ${status} == ${True} openprocurement_client.Завантажити документацію до вимоги
438 ... ${username} 438 ... ${username}
439 ... ${tender_uaid} 439 ... ${tender_uaid}
440 ... ${complaintID} 440 ... ${complaintID}
@@ -442,7 +442,7 @@ Library openprocurement_client_helper.py @@ -442,7 +442,7 @@ Library openprocurement_client_helper.py
442 442
443 ${data}= Create Dictionary status=claim 443 ${data}= Create Dictionary status=claim
444 ${confirmation_data}= Create Dictionary data=${data} 444 ${confirmation_data}= Create Dictionary data=${data}
445 - Подати вимогу 445 + openprocurement_client.Подати вимогу
446 ... ${username} 446 ... ${username}
447 ... ${tender_uaid} 447 ... ${tender_uaid}
448 ... ${complaintID} 448 ... ${complaintID}
@@ -455,7 +455,7 @@ Library openprocurement_client_helper.py @@ -455,7 +455,7 @@ Library openprocurement_client_helper.py
455 ... Можна створити вимогу як з документацією, так і без неї 455 ... Можна створити вимогу як з документацією, так і без неї
456 ... Якщо lot_index == None, то створюється вимога про виправлення умов тендера. 456 ... Якщо lot_index == None, то створюється вимога про виправлення умов тендера.
457 [Arguments] ${username} ${tender_uaid} ${claim} ${lot_id} ${document}=${None} 457 [Arguments] ${username} ${tender_uaid} ${claim} ${lot_id} ${document}=${None}
458 - ${complaintID}= Створити чернетку вимоги про виправлення умов лоту 458 + ${complaintID}= openprocurement_client.Створити чернетку вимоги про виправлення умов лоту
459 ... ${username} 459 ... ${username}
460 ... ${tender_uaid} 460 ... ${tender_uaid}
461 ... ${claim} 461 ... ${claim}
@@ -463,7 +463,7 @@ Library openprocurement_client_helper.py @@ -463,7 +463,7 @@ Library openprocurement_client_helper.py
463 463
464 ${status}= Run keyword and return status Should not be equal ${document} ${None} 464 ${status}= Run keyword and return status Should not be equal ${document} ${None}
465 Log ${status} 465 Log ${status}
466 - Run keyword if ${status} == ${True} Завантажити документацію до вимоги 466 + Run keyword if ${status} == ${True} openprocurement_client.Завантажити документацію до вимоги
467 ... ${username} 467 ... ${username}
468 ... ${tender_uaid} 468 ... ${tender_uaid}
469 ... ${complaintID} 469 ... ${complaintID}
@@ -471,7 +471,7 @@ Library openprocurement_client_helper.py @@ -471,7 +471,7 @@ Library openprocurement_client_helper.py
471 471
472 ${data}= Create Dictionary status=claim 472 ${data}= Create Dictionary status=claim
473 ${confirmation_data}= Create Dictionary data=${data} 473 ${confirmation_data}= Create Dictionary data=${data}
474 - Подати вимогу 474 + openprocurement_client.Подати вимогу
475 ... ${username} 475 ... ${username}
476 ... ${tender_uaid} 476 ... ${tender_uaid}
477 ... ${complaintID} 477 ... ${complaintID}
@@ -484,7 +484,7 @@ Library openprocurement_client_helper.py @@ -484,7 +484,7 @@ Library openprocurement_client_helper.py
484 [Documentation] Створює вимогу у статусі "claim" 484 [Documentation] Створює вимогу у статусі "claim"
485 ... Можна створити вимогу як з документацією, так і без неї 485 ... Можна створити вимогу як з документацією, так і без неї
486 [Arguments] ${username} ${tender_uaid} ${claim} ${award_index} ${document}=${None} 486 [Arguments] ${username} ${tender_uaid} ${claim} ${award_index} ${document}=${None}
487 - ${complaintID}= Створити чернетку вимоги про виправлення визначення переможця 487 + ${complaintID}= openprocurement_client.Створити чернетку вимоги про виправлення визначення переможця
488 ... ${username} 488 ... ${username}
489 ... ${tender_uaid} 489 ... ${tender_uaid}
490 ... ${claim} 490 ... ${claim}
@@ -492,7 +492,7 @@ Library openprocurement_client_helper.py @@ -492,7 +492,7 @@ Library openprocurement_client_helper.py
492 492
493 ${status}= Run keyword and return status Should not be equal ${document} ${None} 493 ${status}= Run keyword and return status Should not be equal ${document} ${None}
494 Log ${status} 494 Log ${status}
495 - Run keyword if ${status} == ${True} Завантажити документацію до вимоги про виправлення визначення переможця 495 + Run keyword if ${status} == ${True} openprocurement_client.Завантажити документацію до вимоги про виправлення визначення переможця
496 ... ${username} 496 ... ${username}
497 ... ${tender_uaid} 497 ... ${tender_uaid}
498 ... ${complaintID} 498 ... ${complaintID}
@@ -502,7 +502,7 @@ Library openprocurement_client_helper.py @@ -502,7 +502,7 @@ Library openprocurement_client_helper.py
502 ${status}= Set variable if 'open' in '${MODE}' pending claim 502 ${status}= Set variable if 'open' in '${MODE}' pending claim
503 ${data}= Create Dictionary status=${status} 503 ${data}= Create Dictionary status=${status}
504 ${confirmation_data}= Create Dictionary data=${data} 504 ${confirmation_data}= Create Dictionary data=${data}
505 - Подати вимогу про виправлення визначення переможця 505 + openprocurement_client.Подати вимогу про виправлення визначення переможця
506 ... ${username} 506 ... ${username}
507 ... ${tender_uaid} 507 ... ${tender_uaid}
508 ... ${complaintID} 508 ... ${complaintID}
@@ -516,7 +516,7 @@ Library openprocurement_client_helper.py @@ -516,7 +516,7 @@ Library openprocurement_client_helper.py
516 [Arguments] ${username} ${tender_uaid} ${complaintID} ${document} 516 [Arguments] ${username} ${tender_uaid} ${complaintID} ${document}
517 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 517 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
518 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token} 518 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token}
519 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 519 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
520 ${reply}= Call Method ${USERS.users['${username}'].client} upload_complaint_document ${document} ${tender} ${complaint_internal_id} 520 ${reply}= Call Method ${USERS.users['${username}'].client} upload_complaint_document ${document} ${tender} ${complaint_internal_id}
521 Log ${tender} 521 Log ${tender}
522 Log ${reply} 522 Log ${reply}
@@ -529,7 +529,7 @@ Library openprocurement_client_helper.py @@ -529,7 +529,7 @@ Library openprocurement_client_helper.py
529 ... ${tender_uaid} 529 ... ${tender_uaid}
530 Log ${USERS.users['${username}'].complaint_access_token} 530 Log ${USERS.users['${username}'].complaint_access_token}
531 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token} 531 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token}
532 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 532 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
533 ${reply}= Call Method ${USERS.users['${username}'].client} upload_award_complaint_document ${document} ${tender} ${tender.data.awards[${award_index}].id} ${complaint_internal_id} 533 ${reply}= Call Method ${USERS.users['${username}'].client} upload_award_complaint_document ${document} ${tender} ${tender.data.awards[${award_index}].id} ${complaint_internal_id}
534 Log ${tender} 534 Log ${tender}
535 Log ${reply} 535 Log ${reply}
@@ -540,7 +540,7 @@ Library openprocurement_client_helper.py @@ -540,7 +540,7 @@ Library openprocurement_client_helper.py
540 [Arguments] ${username} ${tender_uaid} ${complaintID} ${confirmation_data} 540 [Arguments] ${username} ${tender_uaid} ${complaintID} ${confirmation_data}
541 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 541 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
542 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token} 542 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token}
543 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 543 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
544 Set To Dictionary ${confirmation_data.data} id=${complaint_internal_id} 544 Set To Dictionary ${confirmation_data.data} id=${complaint_internal_id}
545 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data} 545 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data}
546 Log ${tender} 546 Log ${tender}
@@ -554,7 +554,7 @@ Library openprocurement_client_helper.py @@ -554,7 +554,7 @@ Library openprocurement_client_helper.py
554 ... ${username} 554 ... ${username}
555 ... ${tender_uaid} 555 ... ${tender_uaid}
556 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token} 556 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token}
557 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 557 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
558 Set To Dictionary ${confirmation_data.data} id=${complaint_internal_id} 558 Set To Dictionary ${confirmation_data.data} id=${complaint_internal_id}
559 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award_complaint ${tender} ${confirmation_data} ${tender.data.awards[${award_index}].id} 559 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award_complaint ${tender} ${confirmation_data} ${tender.data.awards[${award_index}].id}
560 Log ${tender} 560 Log ${tender}
@@ -575,7 +575,7 @@ Library openprocurement_client_helper.py @@ -575,7 +575,7 @@ Library openprocurement_client_helper.py
575 [Documentation] Переводить вимогу зі статусу "claim" у статус "answered" 575 [Documentation] Переводить вимогу зі статусу "claim" у статус "answered"
576 [Arguments] ${username} ${tender_uaid} ${complaintID} ${answer_data} 576 [Arguments] ${username} ${tender_uaid} ${complaintID} ${answer_data}
577 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 577 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
578 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 578 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
579 Set To Dictionary ${answer_data.data} id=${complaint_internal_id} 579 Set To Dictionary ${answer_data.data} id=${complaint_internal_id}
580 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${answer_data} 580 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${answer_data}
581 log ${tender} 581 log ${tender}
@@ -586,7 +586,7 @@ Library openprocurement_client_helper.py @@ -586,7 +586,7 @@ Library openprocurement_client_helper.py
586 [Documentation] Переводить вимогу зі статусу "claim" у статус "answered" 586 [Documentation] Переводить вимогу зі статусу "claim" у статус "answered"
587 [Arguments] ${username} ${tender_uaid} ${complaintID} ${answer_data} ${award_index} 587 [Arguments] ${username} ${tender_uaid} ${complaintID} ${answer_data} ${award_index}
588 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 588 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
589 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 589 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
590 Set To Dictionary ${answer_data.data} id=${complaint_internal_id} 590 Set To Dictionary ${answer_data.data} id=${complaint_internal_id}
591 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award_complaint ${tender} ${answer_data} ${tender.data.awards[${award_index}].id} 591 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award_complaint ${tender} ${answer_data} ${tender.data.awards[${award_index}].id}
592 log ${tender} 592 log ${tender}
@@ -604,7 +604,7 @@ Library openprocurement_client_helper.py @@ -604,7 +604,7 @@ Library openprocurement_client_helper.py
604 [Arguments] ${username} ${tender_uaid} ${complaintID} ${confirmation_data} 604 [Arguments] ${username} ${tender_uaid} ${complaintID} ${confirmation_data}
605 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 605 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
606 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token} 606 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token}
607 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 607 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
608 Set To Dictionary ${confirmation_data.data} id=${complaint_internal_id} 608 Set To Dictionary ${confirmation_data.data} id=${complaint_internal_id}
609 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data} 609 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data}
610 Log ${reply} 610 Log ${reply}
@@ -615,7 +615,7 @@ Library openprocurement_client_helper.py @@ -615,7 +615,7 @@ Library openprocurement_client_helper.py
615 [Arguments] ${username} ${tender_uaid} ${complaintID} ${confirmation_data} ${award_index} 615 [Arguments] ${username} ${tender_uaid} ${complaintID} ${confirmation_data} ${award_index}
616 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 616 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
617 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token} 617 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token}
618 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 618 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
619 Set To Dictionary ${confirmation_data.data} id=${complaint_internal_id} 619 Set To Dictionary ${confirmation_data.data} id=${complaint_internal_id}
620 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award_complaint ${tender} ${confirmation_data} ${tender.data.awards[${award_index}].id} 620 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award_complaint ${tender} ${confirmation_data} ${tender.data.awards[${award_index}].id}
621 Log ${reply} 621 Log ${reply}
@@ -632,7 +632,7 @@ Library openprocurement_client_helper.py @@ -632,7 +632,7 @@ Library openprocurement_client_helper.py
632 [Arguments] ${username} ${tender_uaid} ${complaintID} ${cancellation_data} 632 [Arguments] ${username} ${tender_uaid} ${complaintID} ${cancellation_data}
633 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 633 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
634 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token} 634 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token}
635 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 635 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
636 Set To Dictionary ${cancellation_data.data} id=${complaint_internal_id} 636 Set To Dictionary ${cancellation_data.data} id=${complaint_internal_id}
637 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${cancellation_data} 637 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${cancellation_data}
638 Log ${reply} 638 Log ${reply}
@@ -643,7 +643,7 @@ Library openprocurement_client_helper.py @@ -643,7 +643,7 @@ Library openprocurement_client_helper.py
643 [Arguments] ${username} ${tender_uaid} ${complaintID} ${cancellation_data} ${award_index} 643 [Arguments] ${username} ${tender_uaid} ${complaintID} ${cancellation_data} ${award_index}
644 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 644 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
645 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token} 645 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token}
646 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 646 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
647 Set To Dictionary ${cancellation_data.data} id=${complaint_internal_id} 647 Set To Dictionary ${cancellation_data.data} id=${complaint_internal_id}
648 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award_complaint ${tender} ${cancellation_data} ${tender.data.awards[${award_index}].id} 648 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award_complaint ${tender} ${cancellation_data} ${tender.data.awards[${award_index}].id}
649 Log ${reply} 649 Log ${reply}
@@ -660,7 +660,7 @@ Library openprocurement_client_helper.py @@ -660,7 +660,7 @@ Library openprocurement_client_helper.py
660 [Arguments] ${username} ${tender_uaid} ${complaintID} ${escalating_data} 660 [Arguments] ${username} ${tender_uaid} ${complaintID} ${escalating_data}
661 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 661 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
662 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token} 662 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token}
663 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 663 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
664 Set To Dictionary ${escalating_data.data} id=${complaint_internal_id} 664 Set To Dictionary ${escalating_data.data} id=${complaint_internal_id}
665 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${escalating_data} 665 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${escalating_data}
666 Log ${reply} 666 Log ${reply}
@@ -671,7 +671,7 @@ Library openprocurement_client_helper.py @@ -671,7 +671,7 @@ Library openprocurement_client_helper.py
671 [Arguments] ${username} ${tender_uaid} ${complaintID} ${escalating_data} ${award_index} 671 [Arguments] ${username} ${tender_uaid} ${complaintID} ${escalating_data} ${award_index}
672 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 672 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
673 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token} 673 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].complaint_access_token}
674 - ${complaint_internal_id}= Отримати internal id по UAid для скарги ${tender} ${complaintID} 674 + ${complaint_internal_id}= openprocurement_client.Отримати internal id по UAid для скарги ${tender} ${complaintID}
675 Set To Dictionary ${escalating_data.data} id=${complaint_internal_id} 675 Set To Dictionary ${escalating_data.data} id=${complaint_internal_id}
676 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award_complaint ${tender} ${escalating_data} ${tender.data.awards[${award_index}].id} 676 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award_complaint ${tender} ${escalating_data} ${tender.data.awards[${award_index}].id}
677 Log ${reply} 677 Log ${reply}
Please register or login to post a comment