Commit f93c58e2fd72e1f168476a8c00345cae221e2e59

Authored by oleg.stasiv
1 parent d62731a5

Delete "${PROFILE}" variable and all relations

@@ -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 - ${PROFILE} Get Variable Value ${PROFILE} ${True}  
22 ${WRONG_TENDER_DATE} Get Variable Value ${WRONG_TENDER_DATE} ${False} 21 ${WRONG_TENDER_DATE} Get Variable Value ${WRONG_TENDER_DATE} ${False}
23 ${tender_parameters}= Create Dictionary 22 ${tender_parameters}= Create Dictionary
24 ... mode=${MODE} 23 ... mode=${MODE}
@@ -34,7 +33,6 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status @@ -34,7 +33,6 @@ ${ERROR_PLAN_MESSAGE}= Calling method 'get_plan' failed: ResourceGone: {"status
34 ... road_index=${${ROAD_INDEX}} 33 ... road_index=${${ROAD_INDEX}}
35 ... gmdn_index=${${GMDN_INDEX}} 34 ... gmdn_index=${${GMDN_INDEX}}
36 ... plan_tender=${${PLAN_TENDER}} 35 ... plan_tender=${${PLAN_TENDER}}
37 - ... profile=${${PROFILE}}  
38 ... wrong_tender_date=${${WRONG_TENDER_DATE}} 36 ... wrong_tender_date=${${WRONG_TENDER_DATE}}
39 ${DIALOGUE_TYPE}= Get Variable Value ${DIALOGUE_TYPE} 37 ${DIALOGUE_TYPE}= Get Variable Value ${DIALOGUE_TYPE}
40 ${FUNDING_KIND}= Get Variable Value ${FUNDING_KIND} 38 ${FUNDING_KIND}= Get Variable Value ${FUNDING_KIND}
@@ -1053,9 +1053,8 @@ def test_tender_data_pq(params, submissionMethodDetails, plan_data): @@ -1053,9 +1053,8 @@ def test_tender_data_pq(params, submissionMethodDetails, plan_data):
1053 data = test_tender_data(params, plan_data, ('tender',), submissionMethodDetails) 1053 data = test_tender_data(params, plan_data, ('tender',), submissionMethodDetails)
1054 del data["minimalStep"] 1054 del data["minimalStep"]
1055 data['procurementMethodType'] = 'priceQuotation' 1055 data['procurementMethodType'] = 'priceQuotation'
1056 - if params['profile']:  
1057 - data['profile'] = fake.valid_profile()  
1058 - else: 1056 + data['profile'] = fake.valid_profile()
  1057 + if params.get('wrong_profile'):
1059 data['profile'] = fake.invalid_profile() 1058 data['profile'] = fake.invalid_profile()
1060 if params['wrong_tender_date']: 1059 if params['wrong_tender_date']:
1061 start_date = data['tenderPeriod']['startDate'] 1060 start_date = data['tenderPeriod']['startDate']
@@ -21,7 +21,6 @@ ${VAT_INCLUDED} ${True} @@ -21,7 +21,6 @@ ${VAT_INCLUDED} ${True}
21 ${ROAD_INDEX} ${False} 21 ${ROAD_INDEX} ${False}
22 ${GMDN_INDEX} ${False} 22 ${GMDN_INDEX} ${False}
23 ${PLAN_TENDER} ${True} 23 ${PLAN_TENDER} ${True}
24 -${PROFILE} ${True}  
25 24
26 *** Test Cases *** 25 *** Test Cases ***
27 Неможливість оголосити тендер з tenderPeriod:endDate < 2 робочих дні 26 Неможливість оголосити тендер з tenderPeriod:endDate < 2 робочих дні
@@ -7,8 +7,6 @@ @@ -7,8 +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 --v PROFILE:True  
11 -  
12 -i create_tender_wrong_date 10 -i create_tender_wrong_date
13 -i create_tender 11 -i create_tender
14 -i find_tender 12 -i find_tender
Please register or login to post a comment