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