Commit c300771728108cfedbe0bb005384165ac4302b13
1 parent
4fa4489d
Fix procurementMethodType in generate bid data for belowThreshold
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -449,7 +449,7 @@ def get_document_index_by_id(data, document_id): |
449 | 449 | |
450 | 450 | def generate_test_bid_data(tender_data): |
451 | 451 | bid = test_bid_data() |
452 | - if 'aboveThreshold' in tender_data['procurementMethodType']: | |
452 | + if 'aboveThreshold' in tender_data.get('procurementMethodType', ''): | |
453 | 453 | bid.data.selfEligible = True |
454 | 454 | bid.data.selfQualified = True |
455 | 455 | if 'lots' in tender_data: | ... | ... |
Please
register
or
login
to post a comment