Commit 39a1c24dbdea0d39dc4ef92867da11cb86eab759
1 parent
6d77ee50
Move 'create_tender_wrong_date' test from priceQuotation.txt to priceQuotation_negative.txt
Showing
5 changed files
with
12 additions
and
5 deletions
... | ... | @@ -18,7 +18,6 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status |
18 | 18 | ${NUMBER_OF_LOTS}= Convert To Integer ${NUMBER_OF_LOTS} |
19 | 19 | ${NUMBER_OF_ITEMS}= Convert To Integer ${NUMBER_OF_ITEMS} |
20 | 20 | ${NUMBER_OF_MILESTONES}= Convert To Integer ${NUMBER_OF_MILESTONES} |
21 | - ${WRONG_TENDER_DATE} Get Variable Value ${WRONG_TENDER_DATE} ${False} | |
22 | 21 | ${tender_parameters}= Create Dictionary |
23 | 22 | ... mode=${MODE} |
24 | 23 | ... number_of_items=${NUMBER_OF_ITEMS} |
... | ... | @@ -33,7 +32,6 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status |
33 | 32 | ... road_index=${${ROAD_INDEX}} |
34 | 33 | ... gmdn_index=${${GMDN_INDEX}} |
35 | 34 | ... plan_tender=${${PLAN_TENDER}} |
36 | - ... wrong_tender_date=${${WRONG_TENDER_DATE}} | |
37 | 35 | ${DIALOGUE_TYPE}= Get Variable Value ${DIALOGUE_TYPE} |
38 | 36 | ${FUNDING_KIND}= Get Variable Value ${FUNDING_KIND} |
39 | 37 | Run keyword if '${DIALOGUE_TYPE}' != '${None}' Set to dictionary ${tender_parameters} dialogue_type=${DIALOGUE_TYPE} | ... | ... |
... | ... | @@ -1056,7 +1056,7 @@ def test_tender_data_pq(params, submissionMethodDetails, plan_data): |
1056 | 1056 | data['profile'] = fake.valid_profile() |
1057 | 1057 | if params.get('wrong_profile'): |
1058 | 1058 | data['profile'] = fake.invalid_profile() |
1059 | - if params['wrong_tender_date']: | |
1059 | + if params.get('wrong_tender_date'): | |
1060 | 1060 | start_date = data['tenderPeriod']['startDate'] |
1061 | 1061 | from op_robot_tests.tests_files.service_keywords import add_minutes_to_date |
1062 | 1062 | data['tenderPeriod']['endDate'] = add_minutes_to_date(start_date, 1) | ... | ... |
... | ... | @@ -31,7 +31,7 @@ ${PLAN_TENDER} ${True} |
31 | 31 | ... critical |
32 | 32 | [Teardown] Оновити LAST_MODIFICATION_DATE |
33 | 33 | Set Test Variable ${WRONG_TENDER_DATE} ${True} |
34 | - Run Keyword And Expect Error * Можливість оголосити тендер | |
34 | + Run Keyword And Expect Error * Можливість оголосити тендер для негативних сценаріїв | |
35 | 35 | |
36 | 36 | |
37 | 37 | Можливість оголосити тендер | ... | ... |
Please
register
or
login
to post a comment