Commit 4278072f15b3066dc94581330fa468b4d9ff8165
Committed by
GitHub
Merge pull request #37 from openprocurement/master
update for closeFrameworkAgreementUA
Showing
4 changed files
with
45 additions
and
4 deletions
@@ -205,13 +205,23 @@ Suite Teardown Test Suite Teardown | @@ -205,13 +205,23 @@ Suite Teardown Test Suite Teardown | ||
205 | Звірити відображення поля contracts[${contract_index}].status тендера із active для користувача ${viewer} | 205 | Звірити відображення поля contracts[${contract_index}].status тендера із active для користувача ${viewer} |
206 | 206 | ||
207 | 207 | ||
208 | +Неможливість підтвердити постачальника після закінчення періоду кваліфікації | ||
209 | + [Tags] ${USERS.users['${tender_owner}'].broker}: Процес кваліфікації | ||
210 | + ... tender_owner | ||
211 | + ... ${USERS.users['${tender_owner}'].broker} | ||
212 | + ... awarding_approve_first_award | ||
213 | + ... critical | ||
214 | + [Setup] Дочекатись дати закінчення періоду кваліфікації ${tender_owner} ${TENDER['TENDER_UAID']} | ||
215 | + Run keyword and expect error * Run As ${tender_owner} Підтвердити постачальника ${TENDER['TENDER_UAID']} 0 | ||
216 | + | ||
217 | + | ||
208 | Можливість встановити ціну за одиницю для першого контракту | 218 | Можливість встановити ціну за одиницю для першого контракту |
209 | [Tags] ${USERS.users['${tender_owner}'].broker}: Редагування угоди | 219 | [Tags] ${USERS.users['${tender_owner}'].broker}: Редагування угоди |
210 | ... tender_owner | 220 | ... tender_owner |
211 | ... ${USERS.users['${tender_owner}'].broker} | 221 | ... ${USERS.users['${tender_owner}'].broker} |
212 | ... modify_agreement | 222 | ... modify_agreement |
213 | ... critical | 223 | ... critical |
214 | - [Setup] Дочекатись дати закінчення періоду кваліфікації ${tender_owner} ${TENDER['TENDER_UAID']} | 224 | + [Setup] Дочекатись синхронізації з майданчиком ${tender_owner} |
215 | [Teardown] Оновити LAST_MODIFICATION_DATE | 225 | [Teardown] Оновити LAST_MODIFICATION_DATE |
216 | ${contract_data}= Розрахувати ціну для 0 контракту | 226 | ${contract_data}= Розрахувати ціну для 0 контракту |
217 | Run As ${tender_owner} Встановити ціну за одиницю для контракту ${TENDER['TENDER_UAID']} ${contract_data} | 227 | Run As ${tender_owner} Встановити ціну за одиницю для контракту ${TENDER['TENDER_UAID']} ${contract_data} |
@@ -48,6 +48,9 @@ Default: | @@ -48,6 +48,9 @@ Default: | ||
48 | accelerator: 1440 | 48 | accelerator: 1440 |
49 | enquiry: [0, 15] | 49 | enquiry: [0, 15] |
50 | tender: [0, 30] | 50 | tender: [0, 30] |
51 | + open_framework: | ||
52 | + accelerator: 1440 | ||
53 | + tender: [0, 30] | ||
51 | # Synchronization delay, in seconds | 54 | # Synchronization delay, in seconds |
52 | timeout_on_wait: 300 | 55 | timeout_on_wait: 300 |
53 | Quinta: | 56 | Quinta: |
@@ -68,6 +71,9 @@ Quinta: | @@ -68,6 +71,9 @@ Quinta: | ||
68 | accelerator: 1440 | 71 | accelerator: 1440 |
69 | enquiry: [0, 15] | 72 | enquiry: [0, 15] |
70 | tender: [0, 30] | 73 | tender: [0, 30] |
74 | + open_framework: | ||
75 | + accelerator: 1440 | ||
76 | + tender: [0, 30] | ||
71 | keywords_file: openprocurement_client | 77 | keywords_file: openprocurement_client |
72 | roles: | 78 | roles: |
73 | provider: Tender_User | 79 | provider: Tender_User |
@@ -113,6 +113,15 @@ def create_fake_doc(): | @@ -113,6 +113,15 @@ def create_fake_doc(): | ||
113 | return tf.name.replace('\\', '\\\\'), os.path.basename(tf.name), content | 113 | return tf.name.replace('\\', '\\\\'), os.path.basename(tf.name), content |
114 | 114 | ||
115 | 115 | ||
116 | +def create_fake_IsoDurationType( | ||
117 | + years=0, months=0, days=0, | ||
118 | + hours=0, minutes=0, seconds=0): | ||
119 | + return u"P{}Y{}M{}DT{}H{}M{}S".format( | ||
120 | + years, months, days, | ||
121 | + hours, minutes, seconds | ||
122 | + ) | ||
123 | + | ||
124 | + | ||
116 | def test_tender_data(params, | 125 | def test_tender_data(params, |
117 | periods=("enquiry", "tender"), | 126 | periods=("enquiry", "tender"), |
118 | submissionMethodDetails=None, | 127 | submissionMethodDetails=None, |
@@ -595,7 +604,14 @@ def test_tender_data_framework_agreement(params, submissionMethodDetails): | @@ -595,7 +604,14 @@ def test_tender_data_framework_agreement(params, submissionMethodDetails): | ||
595 | data = test_tender_data_openeu(params, submissionMethodDetails) | 604 | data = test_tender_data_openeu(params, submissionMethodDetails) |
596 | data['procurementMethodType'] = 'closeFrameworkAgreementUA' | 605 | data['procurementMethodType'] = 'closeFrameworkAgreementUA' |
597 | data['maxAwardsCount'] = fake.random_int(min=3, max=5) | 606 | data['maxAwardsCount'] = fake.random_int(min=3, max=5) |
598 | - data['agreementDuration'] = 'P1M' | 607 | + data['agreementDuration'] = create_fake_IsoDurationType( |
608 | + years=fake.random_int(min=1, max=3), | ||
609 | + months=fake.random_int(min=1, max=8), | ||
610 | + days=fake.random_int(min=1, max=6), | ||
611 | + hours=fake.random_int(min=1, max=20), | ||
612 | + minutes=fake.random_int(min=1, max=50), | ||
613 | + seconds=fake.random_int(min=1, max=60) | ||
614 | + ) | ||
599 | return data | 615 | return data |
600 | 616 | ||
601 | 617 |
@@ -3,8 +3,8 @@ | @@ -3,8 +3,8 @@ | ||
3 | -v NUMBER_OF_ITEMS:1 | 3 | -v NUMBER_OF_ITEMS:1 |
4 | -v NUMBER_OF_LOTS:1 | 4 | -v NUMBER_OF_LOTS:1 |
5 | 5 | ||
6 | --v TENDER_MEAT:False | ||
7 | --v ITEM_MEAT:False | 6 | +-v TENDER_MEAT:True |
7 | +-v ITEM_MEAT:True | ||
8 | -v LOT_MEAT:False | 8 | -v LOT_MEAT:False |
9 | 9 | ||
10 | 10 | ||
@@ -16,6 +16,12 @@ | @@ -16,6 +16,12 @@ | ||
16 | -i tender_view_coordinates | 16 | -i tender_view_coordinates |
17 | -i tender_view_framework | 17 | -i tender_view_framework |
18 | -i lot_view | 18 | -i lot_view |
19 | +-i meat_view | ||
20 | + | ||
21 | +-i add_item | ||
22 | + -i delete_item | ||
23 | +-i add_tender_meat | ||
24 | + -i delete_tender_meat | ||
19 | 25 | ||
20 | -i extend_tendering_period | 26 | -i extend_tendering_period |
21 | -i add_tender_doc | 27 | -i add_tender_doc |
@@ -63,6 +69,8 @@ | @@ -63,6 +69,8 @@ | ||
63 | -i pre-qualification_add_doc_to_first_bid | 69 | -i pre-qualification_add_doc_to_first_bid |
64 | -i pre-qualification_approve_first_bid | 70 | -i pre-qualification_approve_first_bid |
65 | -i pre-qualification_add_doc_to_second_bid | 71 | -i pre-qualification_add_doc_to_second_bid |
72 | +-i pre-qualification_reject_second_bid | ||
73 | +-i pre-qualification_cancel_second_bid_qualification | ||
66 | -i pre-qualification_approve_second_bid | 74 | -i pre-qualification_approve_second_bid |
67 | -i pre-qualification_approve_third_bid | 75 | -i pre-qualification_approve_third_bid |
68 | -i pre-qualification_approve_qualifications | 76 | -i pre-qualification_approve_qualifications |
@@ -82,5 +90,6 @@ | @@ -82,5 +90,6 @@ | ||
82 | 90 | ||
83 | 91 | ||
84 | -i contract_stand_still | 92 | -i contract_stand_still |
93 | +-i awarding_approve_first_award | ||
85 | -i modify_agreement | 94 | -i modify_agreement |
86 | -i agreement_registration | 95 | -i agreement_registration |
Please
register
or
login
to post a comment