Commit c300771728108cfedbe0bb005384165ac4302b13

Authored by Leits
1 parent 4fa4489d

Fix procurementMethodType in generate bid data for belowThreshold

... ... @@ -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