Commit b3150fa3d7a14da2906cd74eb215cfc723dd12aa

Authored by selurvedu
1 parent 39aa0ef0

op_client: Make calls more specific

To avoid errors when using different brokers for different roles,
we need to tell Robot Framework that we want to call a keyword
from a specific library/resource file.
@@ -54,8 +54,8 @@ Library openprocurement_client_helper.py @@ -54,8 +54,8 @@ Library openprocurement_client_helper.py
54 54
55 Пошук тендера по ідентифікатору 55 Пошук тендера по ідентифікатору
56 [Arguments] ${username} ${tender_uaid} 56 [Arguments] ${username} ${tender_uaid}
57 - ${internalid}= Отримати internal id по UAid ${username} ${tender_uaid}  
58 - ${tender}= Отримати тендер ${username} ${internalid} 57 + ${internalid}= openprocurement_client.Отримати internal id по UAid ${username} ${tender_uaid}
  58 + ${tender}= openprocurement_client.Отримати тендер ${username} ${internalid}
59 [return] ${tender} 59 [return] ${tender}
60 60
61 61
@@ -171,7 +171,7 @@ Library openprocurement_client_helper.py @@ -171,7 +171,7 @@ Library openprocurement_client_helper.py
171 Змінити цінову пропозицію 171 Змінити цінову пропозицію
172 [Arguments] ${username} ${tender_uaid} ${fieldname} ${fieldvalue} 172 [Arguments] ${username} ${tender_uaid} ${fieldname} ${fieldvalue}
173 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 173 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
174 - ${bid}= Отримати пропозицію ${username} ${tender_uaid} 174 + ${bid}= openprocurement_client.Отримати пропозицію ${username} ${tender_uaid}
175 Set_To_Object ${bid.data} ${fieldname} ${fieldvalue} 175 Set_To_Object ${bid.data} ${fieldname} ${fieldvalue}
176 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token} 176 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].bidresponses['resp'].access.token}
177 ${changed_bid}= Call Method ${USERS.users['${username}'].client} patch_bid ${tender} ${bid} 177 ${changed_bid}= Call Method ${USERS.users['${username}'].client} patch_bid ${tender} ${bid}
@@ -191,7 +191,7 @@ Library openprocurement_client_helper.py @@ -191,7 +191,7 @@ Library openprocurement_client_helper.py
191 191
192 Прийняти цінову пропозицію 192 Прийняти цінову пропозицію
193 [Arguments] ${username} ${tender_uaid} ${award} 193 [Arguments] ${username} ${tender_uaid} ${award}
194 - ${internalid}= Отримати internal id по UAid ${username} ${tender_uaid} 194 + ${internalid}= openprocurement_client.Отримати internal id по UAid ${username} ${tender_uaid}
195 ${tender}= Call Method ${USERS.users['${username}'].client} get_tender ${internalid} 195 ${tender}= Call Method ${USERS.users['${username}'].client} get_tender ${internalid}
196 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].access_token} 196 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].access_token}
197 ${award_activeted_response}= Call Method ${USERS.users['${username}'].client} patch_award ${tender} ${award} 197 ${award_activeted_response}= Call Method ${USERS.users['${username}'].client} patch_award ${tender} ${award}
@@ -251,7 +251,7 @@ Library openprocurement_client_helper.py @@ -251,7 +251,7 @@ Library openprocurement_client_helper.py
251 251
252 Отримати посилання на аукціон для учасника 252 Отримати посилання на аукціон для учасника
253 [Arguments] ${username} ${tender_uaid} 253 [Arguments] ${username} ${tender_uaid}
254 - ${bid}= Викликати для учасника ${username} Отримати пропозицію ${tender_uaid} 254 + ${bid}= openprocurement_client.Отримати пропозицію ${username} ${tender_uaid}
255 [return] ${bid.data.participationUrl} 255 [return] ${bid.data.participationUrl}
256 256
257 257
@@ -305,7 +305,7 @@ Library openprocurement_client_helper.py @@ -305,7 +305,7 @@ Library openprocurement_client_helper.py
305 [Arguments] ${username} ${filepath} ${tender_uaid} ${lot_id} 305 [Arguments] ${username} ${filepath} ${tender_uaid} ${lot_id}
306 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} 306 ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
307 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].access_token} 307 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].access_token}
308 - ${doc}= Завантажити документ ${username} ${filepath} ${tender_uaid} 308 + ${doc}= openprocurement_client.Завантажити документ ${username} ${filepath} ${tender_uaid}
309 ${lot_doc}= test_lot_document_data ${doc} ${lot_id} 309 ${lot_doc}= test_lot_document_data ${doc} ${lot_id}
310 ${reply}= Call Method ${USERS.users['${username}'].client} patch_document ${tender} ${lot_doc} 310 ${reply}= Call Method ${USERS.users['${username}'].client} patch_document ${tender} ${lot_doc}
311 Log object data ${reply} reply 311 Log object data ${reply} reply
@@ -344,7 +344,7 @@ Library openprocurement_client_helper.py @@ -344,7 +344,7 @@ Library openprocurement_client_helper.py
344 344
345 Завантажити документацію до вимоги 345 Завантажити документацію до вимоги
346 [Arguments] ${username} ${tender_uaid} ${claim} ${document} 346 [Arguments] ${username} ${tender_uaid} ${claim} ${document}
347 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 347 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
348 ${tender}= set_access_key ${tender} ${claim.access.token} 348 ${tender}= set_access_key ${tender} ${claim.access.token}
349 ${reply}= Call Method ${USERS.users['${username}'].client} upload_complaint_document ${document} ${tender} ${claim['data']['id']} 349 ${reply}= Call Method ${USERS.users['${username}'].client} upload_complaint_document ${document} ${tender} ${claim['data']['id']}
350 Log ${tender} 350 Log ${tender}
@@ -354,7 +354,7 @@ Library openprocurement_client_helper.py @@ -354,7 +354,7 @@ Library openprocurement_client_helper.py
354 Подати вимогу 354 Подати вимогу
355 [Documentation] Переводить вимогу зі статусу "draft" у статус "claim" 355 [Documentation] Переводить вимогу зі статусу "draft" у статус "claim"
356 [Arguments] ${username} ${tender_uaid} ${claim} ${confirmation_data} 356 [Arguments] ${username} ${tender_uaid} ${claim} ${confirmation_data}
357 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 357 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
358 ${tender}= set_access_key ${tender} ${claim.access.token} 358 ${tender}= set_access_key ${tender} ${claim.access.token}
359 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data} 359 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data}
360 Log ${tender} 360 Log ${tender}
@@ -366,7 +366,7 @@ Library openprocurement_client_helper.py @@ -366,7 +366,7 @@ Library openprocurement_client_helper.py
366 [Arguments] ${username} ${tender_uaid} ${claim} ${answer_data} 366 [Arguments] ${username} ${tender_uaid} ${claim} ${answer_data}
367 Log ${claim} 367 Log ${claim}
368 Log ${answer_data} 368 Log ${answer_data}
369 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 369 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
370 log ${tender} 370 log ${tender}
371 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${answer_data} 371 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${answer_data}
372 Log ${reply} 372 Log ${reply}
@@ -375,7 +375,7 @@ Library openprocurement_client_helper.py @@ -375,7 +375,7 @@ Library openprocurement_client_helper.py
375 Підтвердити вирішення вимоги 375 Підтвердити вирішення вимоги
376 [Documentation] Переводить вимогу зі статусу "answered" у статус "resolved" 376 [Documentation] Переводить вимогу зі статусу "answered" у статус "resolved"
377 [Arguments] ${username} ${tender_uaid} ${claim} ${confirmation_data} 377 [Arguments] ${username} ${tender_uaid} ${claim} ${confirmation_data}
378 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 378 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
379 ${tender}= set_access_key ${tender} ${claim.access.token} 379 ${tender}= set_access_key ${tender} ${claim.access.token}
380 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data} 380 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data}
381 Log ${reply} 381 Log ${reply}
@@ -384,7 +384,7 @@ Library openprocurement_client_helper.py @@ -384,7 +384,7 @@ Library openprocurement_client_helper.py
384 Скасувати вимогу 384 Скасувати вимогу
385 [Documentation] Переводить вимогу в статус "canceled" 385 [Documentation] Переводить вимогу в статус "canceled"
386 [Arguments] ${username} ${tender_uaid} ${claim} ${cancellation_data} 386 [Arguments] ${username} ${tender_uaid} ${claim} ${cancellation_data}
387 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 387 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
388 ${tender}= set_access_key ${tender} ${claim.access.token} 388 ${tender}= set_access_key ${tender} ${claim.access.token}
389 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${cancellation_data} 389 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${cancellation_data}
390 Log ${reply} 390 Log ${reply}
@@ -393,7 +393,7 @@ Library openprocurement_client_helper.py @@ -393,7 +393,7 @@ Library openprocurement_client_helper.py
393 Перетворити вимогу в скаргу 393 Перетворити вимогу в скаргу
394 [Documentation] Переводить вимогу у статус "pending" 394 [Documentation] Переводить вимогу у статус "pending"
395 [Arguments] ${username} ${tender_uaid} ${claim} ${escalating_data} 395 [Arguments] ${username} ${tender_uaid} ${claim} ${escalating_data}
396 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 396 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
397 ${tender}= set_access_key ${tender} ${claim.access.token} 397 ${tender}= set_access_key ${tender} ${claim.access.token}
398 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${escalating_data} 398 ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${escalating_data}
399 Log ${reply} 399 Log ${reply}
@@ -408,7 +408,7 @@ Library openprocurement_client_helper.py @@ -408,7 +408,7 @@ Library openprocurement_client_helper.py
408 ... [Description] Find tender using uaid, and call upload_qualification_document 408 ... [Description] Find tender using uaid, and call upload_qualification_document
409 ... [Return] Reply of API 409 ... [Return] Reply of API
410 [Arguments] ${username} ${document} ${tender_uaid} ${award_num} 410 [Arguments] ${username} ${document} ${tender_uaid} ${award_num}
411 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 411 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
412 ${doc_reply}= Call Method ${USERS.users['${username}'].client} upload_award_document ${document} ${tender} ${tender.data.awards[${award_num}].id} 412 ${doc_reply}= Call Method ${USERS.users['${username}'].client} upload_award_document ${document} ${tender} ${tender.data.awards[${award_num}].id}
413 Log ${doc_reply} 413 Log ${doc_reply}
414 [Return] ${doc_reply} 414 [Return] ${doc_reply}
@@ -420,7 +420,7 @@ Library openprocurement_client_helper.py @@ -420,7 +420,7 @@ Library openprocurement_client_helper.py
420 ... Find tender using uaid, get data from confirm_supplier and call patch_award 420 ... Find tender using uaid, get data from confirm_supplier and call patch_award
421 ... [Return] Nothing 421 ... [Return] Nothing
422 [Arguments] ${username} ${tender_uaid} ${award_num} 422 [Arguments] ${username} ${tender_uaid} ${award_num}
423 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 423 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
424 ${award}= create_data_dict data.status active 424 ${award}= create_data_dict data.status active
425 Set To Dictionary ${award.data} id ${tender.data.awards[${award_num}].id} 425 Set To Dictionary ${award.data} id ${tender.data.awards[${award_num}].id}
426 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award ${tender} ${award} 426 ${reply}= Call Method ${USERS.users['${username}'].client} patch_award ${tender} ${award}
@@ -464,7 +464,7 @@ Library openprocurement_client_helper.py @@ -464,7 +464,7 @@ Library openprocurement_client_helper.py
464 ... Find tender using uaid, get data from test_additional_items_data and call patch_tender 464 ... Find tender using uaid, get data from test_additional_items_data and call patch_tender
465 ... [Return] Nothing 465 ... [Return] Nothing
466 [Arguments] ${username} ${tender_uaid} 466 [Arguments] ${username} ${tender_uaid}
467 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 467 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
468 ${data}= test_additional_items_data ${tender['data']['id']} ${tender['access']['token']} 468 ${data}= test_additional_items_data ${tender['data']['id']} ${tender['access']['token']}
469 Log ${data} 469 Log ${data}
470 Set To Dictionary ${USERS.users['${tender_owner}']} additional_items ${data['data']['items']} 470 Set To Dictionary ${USERS.users['${tender_owner}']} additional_items ${data['data']['items']}
@@ -478,11 +478,11 @@ Library openprocurement_client_helper.py @@ -478,11 +478,11 @@ Library openprocurement_client_helper.py
478 ... Find tender using uaid and call create_award 478 ... Find tender using uaid and call create_award
479 ... [Return] Nothing 479 ... [Return] Nothing
480 [Arguments] ${username} ${tender_uaid} ${supplier_data} 480 [Arguments] ${username} ${tender_uaid} ${supplier_data}
481 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 481 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
482 ${reply}= Call Method ${USERS.users['${username}'].client} create_award ${tender} ${supplier_data} 482 ${reply}= Call Method ${USERS.users['${username}'].client} create_award ${tender} ${supplier_data}
483 Log ${reply} 483 Log ${reply}
484 ${supplier_number}= Set variable 0 484 ${supplier_number}= Set variable 0
485 - Підтвердити постачальника ${username} ${tender_uaid} ${supplier_number} 485 + openprocurement_client.Підтвердити постачальника ${username} ${tender_uaid} ${supplier_number}
486 486
487 487
488 Скасувати закупівлю 488 Скасувати закупівлю
@@ -494,18 +494,18 @@ Library openprocurement_client_helper.py @@ -494,18 +494,18 @@ Library openprocurement_client_helper.py
494 ... After that add document to cancellation and change description of document 494 ... After that add document to cancellation and change description of document
495 ... [Return] Nothing 495 ... [Return] Nothing
496 [Arguments] ${username} ${tender_uaid} ${cancellation_reason} ${document} ${new_description} 496 [Arguments] ${username} ${tender_uaid} ${cancellation_reason} ${document} ${new_description}
497 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 497 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
498 ${data}= test_cancel_tender_data ${cancellation_reason} 498 ${data}= test_cancel_tender_data ${cancellation_reason}
499 Log ${data} 499 Log ${data}
500 ${cancel_reply}= Call Method ${USERS.users['${username}'].client} create_cancellation ${tender} ${data} 500 ${cancel_reply}= Call Method ${USERS.users['${username}'].client} create_cancellation ${tender} ${data}
501 Log ${cancel_reply} 501 Log ${cancel_reply}
502 ${cancellation_id}= Set variable ${cancel_reply.data.id} 502 ${cancellation_id}= Set variable ${cancel_reply.data.id}
503 503
504 - ${document_id}= Завантажити документацію до запиту на скасування ${username} ${tender_uaid} ${cancellation_id} ${document} 504 + ${document_id}= openprocurement_client.Завантажити документацію до запиту на скасування ${username} ${tender_uaid} ${cancellation_id} ${document}
505 505
506 - Змінити опис документа в скасуванні ${username} ${tender_uaid} ${cancellation_id} ${document_id} ${new_description} 506 + openprocurement_client.Змінити опис документа в скасуванні ${username} ${tender_uaid} ${cancellation_id} ${document_id} ${new_description}
507 507
508 - Підтвердити скасування закупівлі ${username} ${tender_uaid} ${cancellation_id} 508 + openprocurement_client.Підтвердити скасування закупівлі ${username} ${tender_uaid} ${cancellation_id}
509 509
510 510
511 Завантажити документацію до запиту на скасування 511 Завантажити документацію до запиту на скасування
@@ -514,7 +514,7 @@ Library openprocurement_client_helper.py @@ -514,7 +514,7 @@ Library openprocurement_client_helper.py
514 ... [Description] Find tender using uaid, and call upload_cancellation_document 514 ... [Description] Find tender using uaid, and call upload_cancellation_document
515 ... [Return] ID of added document 515 ... [Return] ID of added document
516 [Arguments] ${username} ${tender_uaid} ${cancellation_id} ${document} 516 [Arguments] ${username} ${tender_uaid} ${cancellation_id} ${document}
517 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 517 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
518 ${doc_reply}= Call Method ${USERS.users['${username}'].client} upload_cancellation_document ${document} ${tender} ${cancellation_id} 518 ${doc_reply}= Call Method ${USERS.users['${username}'].client} upload_cancellation_document ${document} ${tender} ${cancellation_id}
519 Log ${doc_reply} 519 Log ${doc_reply}
520 [Return] ${doc_reply.data.id} 520 [Return] ${doc_reply.data.id}
@@ -528,7 +528,7 @@ Library openprocurement_client_helper.py @@ -528,7 +528,7 @@ Library openprocurement_client_helper.py
528 ... [Return] Nothing 528 ... [Return] Nothing
529 [Arguments] ${username} ${tender_uaid} ${cancellation_id} ${document_id} ${new_description} 529 [Arguments] ${username} ${tender_uaid} ${cancellation_id} ${document_id} ${new_description}
530 ${field}= Set variable description 530 ${field}= Set variable description
531 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 531 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
532 ${temp}= Create Dictionary ${field} ${new_description} 532 ${temp}= Create Dictionary ${field} ${new_description}
533 ${data}= Create Dictionary data ${temp} 533 ${data}= Create Dictionary data ${temp}
534 ${reply}= Call Method ${USERS.users['${username}'].client} patch_cancellation_document ${tender} ${data} ${cancellation_id} ${document_id} 534 ${reply}= Call Method ${USERS.users['${username}'].client} patch_cancellation_document ${tender} ${data} ${cancellation_id} ${document_id}
@@ -541,7 +541,7 @@ Library openprocurement_client_helper.py @@ -541,7 +541,7 @@ Library openprocurement_client_helper.py
541 ... Find tender using uaid, create fake documentation and call update_cancellation_document 541 ... Find tender using uaid, create fake documentation and call update_cancellation_document
542 ... [Return] Nothing 542 ... [Return] Nothing
543 [Arguments] ${username} ${tender_uaid} ${cancel_num} ${doc_num} 543 [Arguments] ${username} ${tender_uaid} ${cancel_num} ${doc_num}
544 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 544 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
545 ${second_cancel_doc}= create_fake_doc 545 ${second_cancel_doc}= create_fake_doc
546 Set To Dictionary ${USERS.users['${tender_owner}']} second_cancel_doc ${second_cancel_doc} 546 Set To Dictionary ${USERS.users['${tender_owner}']} second_cancel_doc ${second_cancel_doc}
547 Log ${second_cancel_doc} 547 Log ${second_cancel_doc}
@@ -555,7 +555,7 @@ Library openprocurement_client_helper.py @@ -555,7 +555,7 @@ Library openprocurement_client_helper.py
555 ... Find tender using uaid, get cancellation test_confirmation data and call patch_cancellation 555 ... Find tender using uaid, get cancellation test_confirmation data and call patch_cancellation
556 ... [Return] Nothing 556 ... [Return] Nothing
557 [Arguments] ${username} ${tender_uaid} ${cancel_id} 557 [Arguments] ${username} ${tender_uaid} ${cancel_id}
558 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 558 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
559 ${data}= test_confirm_data ${cancel_id} 559 ${data}= test_confirm_data ${cancel_id}
560 Log ${data} 560 Log ${data}
561 ${reply}= Call Method ${USERS.users['${username}'].client} patch_cancellation ${tender} ${data} 561 ${reply}= Call Method ${USERS.users['${username}'].client} patch_cancellation ${tender} ${data}
@@ -568,7 +568,7 @@ Library openprocurement_client_helper.py @@ -568,7 +568,7 @@ Library openprocurement_client_helper.py
568 ... Find tender using uaid, get contract test_confirmation data and call patch_contract 568 ... Find tender using uaid, get contract test_confirmation data and call patch_contract
569 ... [Return] Nothing 569 ... [Return] Nothing
570 [Arguments] ${username} ${tender_uaid} ${contract_num} 570 [Arguments] ${username} ${tender_uaid} ${contract_num}
571 - ${tender}= Викликати для учасника ${username} Пошук тендера по ідентифікатору ${tender_uaid} 571 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
572 ${data}= test_confirm_data ${tender['data']['contracts'][${contract_num}]['id']} 572 ${data}= test_confirm_data ${tender['data']['contracts'][${contract_num}]['id']}
573 Log ${data} 573 Log ${data}
574 ${reply}= Call Method ${USERS.users['${username}'].client} patch_contract ${tender} ${data} 574 ${reply}= Call Method ${USERS.users['${username}'].client} patch_contract ${tender} ${data}
@@ -612,7 +612,7 @@ Library openprocurement_client_helper.py @@ -612,7 +612,7 @@ Library openprocurement_client_helper.py
612 ... [Description] Find tender using uaid, and call upload_qualification_document 612 ... [Description] Find tender using uaid, and call upload_qualification_document
613 ... [Return] Reply of API 613 ... [Return] Reply of API
614 [Arguments] ${username} ${document} ${tender_uaid} ${qualification_num} 614 [Arguments] ${username} ${document} ${tender_uaid} ${qualification_num}
615 - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} 615 + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid}
616 ${doc_reply}= Call Method ${USERS.users['${username}'].client} upload_qualification_document ${document} ${tender} ${tender.data.qualifications[${qualification_num}].id} 616 ${doc_reply}= Call Method ${USERS.users['${username}'].client} upload_qualification_document ${document} ${tender} ${tender.data.qualifications[${qualification_num}].id}
617 Log ${doc_reply} 617 Log ${doc_reply}
618 [Return] ${doc_reply} 618 [Return] ${doc_reply}
@@ -640,7 +640,7 @@ Library openprocurement_client_helper.py @@ -640,7 +640,7 @@ Library openprocurement_client_helper.py
640 ... 640 ...
641 ... [Return] Reply of API 641 ... [Return] Reply of API
642 [Arguments] ${username} ${tender_uaid} 642 [Arguments] ${username} ${tender_uaid}
643 - ${internal_id}= Отримати internal id по UAid ${username} ${tender_uaid} 643 + ${internal_id}= openprocurement_client.Отримати internal id по UAid ${username} ${tender_uaid}
644 ${tender}= create_data_dict data.id ${internal_id} 644 ${tender}= create_data_dict data.id ${internal_id}
645 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].access_token} 645 ${tender}= set_access_key ${tender} ${USERS.users['${username}'].access_token}
646 set_to_object ${tender} data.status active.pre-qualification.stand-still 646 set_to_object ${tender} data.status active.pre-qualification.stand-still
Please register or login to post a comment