Commit 23bdbd249ff63c6ddafa6275f0a89fb6db7b0a2d

Authored by oleg.stasiv
1 parent 61b19dd1

Add "selective" mode for creating plan under "priceQuotation"

@@ -22,6 +22,7 @@ mode_open = ["belowThreshold", "aboveThresholdUA", "aboveThresholdEU", @@ -22,6 +22,7 @@ mode_open = ["belowThreshold", "aboveThresholdUA", "aboveThresholdEU",
22 "aboveThresholdUA.defense", "competitiveDialogueUA", "competitiveDialogueEU", "esco", 22 "aboveThresholdUA.defense", "competitiveDialogueUA", "competitiveDialogueEU", "esco",
23 "closeFrameworkAgreementUA"] 23 "closeFrameworkAgreementUA"]
24 mode_limited = ["reporting", "negotiation.quick", "negotiation"] 24 mode_limited = ["reporting", "negotiation.quick", "negotiation"]
  25 +mode_selective = ["priceQuotation"]
25 violationType = ["corruptionDescription", "corruptionProcurementMethodType", "corruptionChanges", 26 violationType = ["corruptionDescription", "corruptionProcurementMethodType", "corruptionChanges",
26 "corruptionPublicDisclosure", "corruptionBiddingDocuments", "documentsForm", 27 "corruptionPublicDisclosure", "corruptionBiddingDocuments", "documentsForm",
27 "corruptionAwarded", "corruptionCancelled", "corruptionContracting"] 28 "corruptionAwarded", "corruptionCancelled", "corruptionContracting"]
@@ -353,6 +354,8 @@ def test_tender_data_planning(params): @@ -353,6 +354,8 @@ def test_tender_data_planning(params):
353 data["tender"]["procurementMethod"] = "open" 354 data["tender"]["procurementMethod"] = "open"
354 if params['mode'] in mode_limited: 355 if params['mode'] in mode_limited:
355 data["tender"]["procurementMethod"] = "limited" 356 data["tender"]["procurementMethod"] = "limited"
  357 + if params['mode'] in mode_selective:
  358 + data["tender"]["procurementMethod"] = "selective"
356 if params.get('number_of_breakdown'): 359 if params.get('number_of_breakdown'):
357 value_data = breakdown_value_generation(params['number_of_breakdown'], data['budget']['amount']) 360 value_data = breakdown_value_generation(params['number_of_breakdown'], data['budget']['amount'])
358 for value in value_data: 361 for value in value_data:
Please register or login to post a comment