Commit 39a1c24dbdea0d39dc4ef92867da11cb86eab759

Authored by oleg.stasiv
1 parent 6d77ee50

Move 'create_tender_wrong_date' test from priceQuotation.txt to priceQuotation_negative.txt

@@ -18,7 +18,6 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status @@ -18,7 +18,6 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status
18 ${NUMBER_OF_LOTS}= Convert To Integer ${NUMBER_OF_LOTS} 18 ${NUMBER_OF_LOTS}= Convert To Integer ${NUMBER_OF_LOTS}
19 ${NUMBER_OF_ITEMS}= Convert To Integer ${NUMBER_OF_ITEMS} 19 ${NUMBER_OF_ITEMS}= Convert To Integer ${NUMBER_OF_ITEMS}
20 ${NUMBER_OF_MILESTONES}= Convert To Integer ${NUMBER_OF_MILESTONES} 20 ${NUMBER_OF_MILESTONES}= Convert To Integer ${NUMBER_OF_MILESTONES}
21 - ${WRONG_TENDER_DATE} Get Variable Value ${WRONG_TENDER_DATE} ${False}  
22 ${tender_parameters}= Create Dictionary 21 ${tender_parameters}= Create Dictionary
23 ... mode=${MODE} 22 ... mode=${MODE}
24 ... number_of_items=${NUMBER_OF_ITEMS} 23 ... number_of_items=${NUMBER_OF_ITEMS}
@@ -33,7 +32,6 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status @@ -33,7 +32,6 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status
33 ... road_index=${${ROAD_INDEX}} 32 ... road_index=${${ROAD_INDEX}}
34 ... gmdn_index=${${GMDN_INDEX}} 33 ... gmdn_index=${${GMDN_INDEX}}
35 ... plan_tender=${${PLAN_TENDER}} 34 ... plan_tender=${${PLAN_TENDER}}
36 - ... wrong_tender_date=${${WRONG_TENDER_DATE}}  
37 ${DIALOGUE_TYPE}= Get Variable Value ${DIALOGUE_TYPE} 35 ${DIALOGUE_TYPE}= Get Variable Value ${DIALOGUE_TYPE}
38 ${FUNDING_KIND}= Get Variable Value ${FUNDING_KIND} 36 ${FUNDING_KIND}= Get Variable Value ${FUNDING_KIND}
39 Run keyword if '${DIALOGUE_TYPE}' != '${None}' Set to dictionary ${tender_parameters} dialogue_type=${DIALOGUE_TYPE} 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,7 +1056,7 @@ def test_tender_data_pq(params, submissionMethodDetails, plan_data):
1056 data['profile'] = fake.valid_profile() 1056 data['profile'] = fake.valid_profile()
1057 if params.get('wrong_profile'): 1057 if params.get('wrong_profile'):
1058 data['profile'] = fake.invalid_profile() 1058 data['profile'] = fake.invalid_profile()
1059 - if params['wrong_tender_date']: 1059 + if params.get('wrong_tender_date'):
1060 start_date = data['tenderPeriod']['startDate'] 1060 start_date = data['tenderPeriod']['startDate']
1061 from op_robot_tests.tests_files.service_keywords import add_minutes_to_date 1061 from op_robot_tests.tests_files.service_keywords import add_minutes_to_date
1062 data['tenderPeriod']['endDate'] = add_minutes_to_date(start_date, 1) 1062 data['tenderPeriod']['endDate'] = add_minutes_to_date(start_date, 1)
@@ -31,7 +31,7 @@ ${PLAN_TENDER} ${True} @@ -31,7 +31,7 @@ ${PLAN_TENDER} ${True}
31 ... critical 31 ... critical
32 [Teardown] Оновити LAST_MODIFICATION_DATE 32 [Teardown] Оновити LAST_MODIFICATION_DATE
33 Set Test Variable ${WRONG_TENDER_DATE} ${True} 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 Можливість оголосити тендер
@@ -7,7 +7,6 @@ @@ -7,7 +7,6 @@
7 -v ITEM_MEAT:False 7 -v ITEM_MEAT:False
8 -v LOT_MEAT:False 8 -v LOT_MEAT:False
9 9
10 --i create_tender_wrong_date  
11 -i create_tender 10 -i create_tender
12 -i find_tender 11 -i find_tender
13 -i extend_tendering_period 12 -i extend_tendering_period
  1 +-v MODE:priceQuotation
  2 +
  3 +-v NUMBER_OF_ITEMS:1
  4 +-v NUMBER_OF_LOTS:0
  5 +
  6 +-v TENDER_MEAT:False
  7 +-v ITEM_MEAT:False
  8 +-v LOT_MEAT:False
  9 +
  10 +-i create_tender_wrong_date
Please register or login to post a comment