Commit f93c58e2fd72e1f168476a8c00345cae221e2e59
1 parent
d62731a5
Delete "${PROFILE}" variable and all relations
Showing
4 changed files
with
2 additions
and
8 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 | - ${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'] | ... | ... |
Please
register
or
login
to post a comment