Commit caf6e0203a9fdbaddfed270dd26b779e6903be9d
Committed by
GitHub
Merge pull request #298 from ProzorroUKR/fix_eligible
fixing selfeligible for open defense procedure
Showing
1 changed file
with
5 additions
and
3 deletions
... | ... | @@ -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