Commit 7c8c2e5d270db9eaf4f26b781fd452ff44343d7a

Authored by AlexDiatlov
1 parent 1b0329b4

fixing selfeligible for open defense procedure

... ... @@ -633,7 +633,6 @@ def get_object_by_id(data, given_object_id, slice_element, object_id):
633 633 def generate_test_bid_data(tender_data, edrpou=None):
634 634 if tender_data.get('procurementMethodType', '') in (
635 635 'aboveThresholdUA',
636   - 'aboveThresholdUA.defense',
637 636 'aboveThresholdEU',
638 637 'competitiveDialogueUA',
639 638 'competitiveDialogueEU',
... ... @@ -641,13 +640,16 @@ def generate_test_bid_data(tender_data, edrpou=None):
641 640 'esco'
642 641 ):
643 642 bid = test_bid_competitive_data()
644   - #bid.data.selfEligible = True
  643 + bid.data.selfQualified = True
  644 + elif tender_data.get('procurementMethodType', '') in (
  645 + 'aboveThresholdUA.defense'):
  646 + bid = test_bid_competitive_data()
  647 + bid.data.selfEligible = True
645 648 bid.data.selfQualified = True
646 649 elif tender_data.get('procurementMethodType', '') in (
647 650 'competitiveDialogueUA.stage2',
648 651 'competitiveDialogueEU.stage2'):
649 652 bid = test_bid_competitive_data_stage_2(edrpou)
650   - #bid.data.selfEligible = True
651 653 bid.data.selfQualified = True
652 654 else:
653 655 bid = test_bid_data()
... ...
Please register or login to post a comment