Commit 8903837ad24cc01978df52c23a5542a5ddca7fca
1 parent
54b30d33
Fix generate_bid_data_second_stage function
Showing
2 changed files
with
3 additions
and
3 deletions
... | ... | @@ -266,7 +266,7 @@ Get Broker Property By Username |
266 | 266 | |
267 | 267 | Підготувати дані для подання пропозиції для другого етапу |
268 | 268 | [Arguments] ${index}=0 |
269 | - ${bid}= generate_test_bid_data_second_stage ${USERS.users['${tender_owner}'].initialdata.data} ${index} | |
269 | + ${bid}= generate_test_bid_data_second_stage ${USERS.users['${tender_owner}'].tender_data.data} ${index} | |
270 | 270 | [Return] ${bid} |
271 | 271 | |
272 | 272 | ... | ... |
... | ... | @@ -533,8 +533,8 @@ def generate_test_bid_data_second_stage(tender_data, index='0'): |
533 | 533 | bid['data']['tenderers'][0]['identifier']['id'] = tender_data['shortlistedFirms'][index]['identifier']['id'] |
534 | 534 | bid['data']['tenderers'][0]['identifier']['scheme'] = tender_data['shortlistedFirms'][index]['identifier']['scheme'] |
535 | 535 | bid['data']['tenderers'][0]['identifier']['legalName'] = tender_data['shortlistedFirms'][index]['identifier']['legalName'] |
536 | - | |
537 | - if tender_data.get('procurementMethodType', '')[:-2] in ('aboveThreshold', 'competitiveDialogue'): | |
536 | + bid['data']['tenderers'][0]['name'] = tender_data['shortlistedFirms'][index]['name'] | |
537 | + if tender_data.get('procurementMethodType', '') in ('competitiveDialogueEU.stage2', 'competitiveDialogueUA.stage2'): | |
538 | 538 | bid.data.selfEligible = True |
539 | 539 | bid.data.selfQualified = True |
540 | 540 | if 'lots' in tender_data: | ... | ... |
Please
register
or
login
to post a comment