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