Commit c7c00a2a78f01c1389da991d8b31ad39e34a68ca
1 parent
37cec6b9
Move singleItemTenderclaims section
Showing
1 changed file
with
76 additions
and
74 deletions
| @@ -285,6 +285,82 @@ Library openprocurement_client_helper.py | @@ -285,6 +285,82 @@ Library openprocurement_client_helper.py | ||
| 285 | #${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | 285 | #${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} |
| 286 | 286 | ||
| 287 | ############################################################################## | 287 | ############################################################################## |
| 288 | +# singleItemTenderclaims | ||
| 289 | +############################################################################## | ||
| 290 | + | ||
| 291 | +Створити вимогу | ||
| 292 | + [Documentation] Створює вимогу у статусі "draft" | ||
| 293 | + [Arguments] ${username} ${tender_uaid} ${claim} | ||
| 294 | + Log ${claim} | ||
| 295 | + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору | ||
| 296 | + ... ${username} | ||
| 297 | + ... ${tender_uaid} | ||
| 298 | + ${reply}= Call Method | ||
| 299 | + ... ${USERS.users['${username}'].client} | ||
| 300 | + ... create_complaint | ||
| 301 | + ... ${tender} | ||
| 302 | + ... ${claim} | ||
| 303 | + Log ${reply} | ||
| 304 | + [return] ${reply} | ||
| 305 | + | ||
| 306 | + | ||
| 307 | +Завантажити документацію до вимоги | ||
| 308 | + [Arguments] ${username} ${tender_uaid} ${claim} ${document} | ||
| 309 | + ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 310 | + ${tender}= set_access_key ${tender} ${claim.access.token} | ||
| 311 | + ${reply}= Call Method ${USERS.users['${username}'].client} upload_complaint_document ${document} ${tender} ${claim['data']['id']} | ||
| 312 | + Log ${tender} | ||
| 313 | + Log ${reply} | ||
| 314 | + | ||
| 315 | + | ||
| 316 | +Подати вимогу | ||
| 317 | + [Documentation] Переводить вимогу зі статусу "draft" у статус "claim" | ||
| 318 | + [Arguments] ${username} ${tender_uaid} ${claim} ${confirmation_data} | ||
| 319 | + ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 320 | + ${tender}= set_access_key ${tender} ${claim.access.token} | ||
| 321 | + ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data} | ||
| 322 | + Log ${tender} | ||
| 323 | + Log ${reply} | ||
| 324 | + | ||
| 325 | + | ||
| 326 | +Відповісти на вимогу | ||
| 327 | + [Documentation] Переводить вимогу зі статусу "claim" у статус "answered" | ||
| 328 | + [Arguments] ${username} ${tender_uaid} ${claim} ${answer_data} | ||
| 329 | + Log ${claim} | ||
| 330 | + Log ${answer_data} | ||
| 331 | + ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 332 | + log ${tender} | ||
| 333 | + ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${answer_data} | ||
| 334 | + Log ${reply} | ||
| 335 | + | ||
| 336 | + | ||
| 337 | +Підтвердити вирішення вимоги | ||
| 338 | + [Documentation] Переводить вимогу зі статусу "answered" у статус "resolved" | ||
| 339 | + [Arguments] ${username} ${tender_uaid} ${claim} ${confirmation_data} | ||
| 340 | + ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 341 | + ${tender}= set_access_key ${tender} ${claim.access.token} | ||
| 342 | + ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data} | ||
| 343 | + Log ${reply} | ||
| 344 | + | ||
| 345 | + | ||
| 346 | +Скасувати вимогу | ||
| 347 | + [Documentation] Переводить вимогу в статус "canceled" | ||
| 348 | + [Arguments] ${username} ${tender_uaid} ${claim} ${cancellation_data} | ||
| 349 | + ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 350 | + ${tender}= set_access_key ${tender} ${claim.access.token} | ||
| 351 | + ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${cancellation_data} | ||
| 352 | + Log ${reply} | ||
| 353 | + | ||
| 354 | + | ||
| 355 | +Перетворити вимогу в скаргу | ||
| 356 | + [Documentation] Переводить вимогу зі статусу "answered" у статус "pending" | ||
| 357 | + [Arguments] ${username} ${tender_uaid} ${claim} ${escalating_data} | ||
| 358 | + ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 359 | + ${tender}= set_access_key ${tender} ${claim.access.token} | ||
| 360 | + ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${escalating_data} | ||
| 361 | + Log ${reply} | ||
| 362 | + | ||
| 363 | +############################################################################## | ||
| 288 | # Limited procurement | 364 | # Limited procurement |
| 289 | ############################################################################## | 365 | ############################################################################## |
| 290 | 366 | ||
| @@ -407,77 +483,3 @@ Library openprocurement_client_helper.py | @@ -407,77 +483,3 @@ Library openprocurement_client_helper.py | ||
| 407 | Log ${data} | 483 | Log ${data} |
| 408 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_contract ${tender} ${data} | 484 | ${reply}= Call Method ${USERS.users['${username}'].client} patch_contract ${tender} ${data} |
| 409 | Log ${reply} | 485 | Log ${reply} |
| 410 | - | ||
| 411 | -############################################################################## | ||
| 412 | -# singleItemTenderclaims | ||
| 413 | -############################################################################## | ||
| 414 | - | ||
| 415 | -Створити вимогу | ||
| 416 | - [Documentation] Створює вимогу у статусі "draft" | ||
| 417 | - [Arguments] ${username} ${tender_uaid} ${claim} | ||
| 418 | - Log ${claim} | ||
| 419 | - ${tender}= openprocurement_client.Пошук тендера по ідентифікатору | ||
| 420 | - ... ${username} | ||
| 421 | - ... ${tender_uaid} | ||
| 422 | - ${reply}= Call Method | ||
| 423 | - ... ${USERS.users['${username}'].client} | ||
| 424 | - ... create_complaint | ||
| 425 | - ... ${tender} | ||
| 426 | - ... ${claim} | ||
| 427 | - Log ${reply} | ||
| 428 | - [return] ${reply} | ||
| 429 | - | ||
| 430 | - | ||
| 431 | -Завантажити документацію до вимоги | ||
| 432 | - [Arguments] ${username} ${tender_uaid} ${claim} ${document} | ||
| 433 | - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 434 | - ${tender}= set_access_key ${tender} ${claim.access.token} | ||
| 435 | - ${reply}= Call Method ${USERS.users['${username}'].client} upload_complaint_document ${document} ${tender} ${claim['data']['id']} | ||
| 436 | - Log ${reply} | ||
| 437 | - | ||
| 438 | - | ||
| 439 | -Подати вимогу | ||
| 440 | - [Documentation] Переводить вимогу зі статусу "draft" у статус "claim" | ||
| 441 | - [Arguments] ${username} ${tender_uaid} ${claim} ${confirmation_data} | ||
| 442 | - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 443 | - ${tender}= set_access_key ${tender} ${claim.access.token} | ||
| 444 | - ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data} | ||
| 445 | - Log ${reply} | ||
| 446 | - | ||
| 447 | - | ||
| 448 | -Відповісти на вимогу | ||
| 449 | - [Documentation] Переводить вимогу зі статусу "claim" у статус "answered" | ||
| 450 | - [Arguments] ${username} ${tender_uaid} ${claim} ${answer_data} | ||
| 451 | - Log ${claim} | ||
| 452 | - Log ${answer_data} | ||
| 453 | - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 454 | - log ${tender} | ||
| 455 | - ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${answer_data} | ||
| 456 | - Log ${reply} | ||
| 457 | - | ||
| 458 | - | ||
| 459 | -Підтвердити вирішення вимоги | ||
| 460 | - [Documentation] Переводить вимогу зі статусу "answered" у статус "resolved" | ||
| 461 | - [Arguments] ${username} ${tender_uaid} ${claim} ${confirmation_data} | ||
| 462 | - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 463 | - ${tender}= set_access_key ${tender} ${claim.access.token} | ||
| 464 | - ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${confirmation_data} | ||
| 465 | - Log ${reply} | ||
| 466 | - | ||
| 467 | - | ||
| 468 | -Скасувати вимогу | ||
| 469 | - [Documentation] Переводить вимогу в статус "canceled" | ||
| 470 | - [Arguments] ${username} ${tender_uaid} ${claim} ${cancellation_data} | ||
| 471 | - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 472 | - ${tender}= set_access_key ${tender} ${claim.access.token} | ||
| 473 | - ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${cancellation_data} | ||
| 474 | - Log ${reply} | ||
| 475 | - | ||
| 476 | - | ||
| 477 | -Перетворити вимогу в скаргу | ||
| 478 | - [Documentation] Переводить вимогу зі статусу "answered" у статус "pending" | ||
| 479 | - [Arguments] ${username} ${tender_uaid} ${claim} ${escalating_data} | ||
| 480 | - ${tender}= Пошук тендера по ідентифікатору ${username} ${tender_uaid} | ||
| 481 | - ${tender}= set_access_key ${tender} ${claim.access.token} | ||
| 482 | - ${reply}= Call Method ${USERS.users['${username}'].client} patch_complaint ${tender} ${escalating_data} | ||
| 483 | - Log ${reply} |
Please
register
or
login
to post a comment