Commit f6ce2dab2dcc5014dc32d01b2668dbd11445fddc
1 parent
90ca6fc8
add simple defense procedure type into tender/bid generation method
Showing
1 changed file
with
7 additions
and
2 deletions
... | ... | @@ -94,7 +94,8 @@ from .initial_data import ( |
94 | 94 | test_data_bid_criteria, |
95 | 95 | test_bid_criteria, |
96 | 96 | test_qualification_criteria, |
97 | - test_awards_criteria | |
97 | + test_awards_criteria, | |
98 | + test_tender_data_simple_defense | |
98 | 99 | ) |
99 | 100 | from barbecue import chef |
100 | 101 | from restkit import request |
... | ... | @@ -388,6 +389,9 @@ def prepare_test_tender_data(procedure_intervals, |
388 | 389 | tender_parameters, submissionMethodDetails, plan_data)}) |
389 | 390 | elif mode == 'priceQuotation': |
390 | 391 | return munchify({'data': test_tender_data_pq(tender_parameters, submissionMethodDetails, plan_data)}) |
392 | + elif mode == "open_simple_defense": | |
393 | + return munchify({'data': test_tender_data_simple_defense( | |
394 | + tender_parameters, submissionMethodDetails, plan_data)}) | |
391 | 395 | |
392 | 396 | # The previous line needs an explicit keyword argument because, |
393 | 397 | # unlike previous functions, this one has three arguments. |
... | ... | @@ -644,7 +648,8 @@ def generate_test_bid_data(tender_data, edrpou=None): |
644 | 648 | bid = test_bid_competitive_data() |
645 | 649 | bid.data.selfQualified = True |
646 | 650 | elif tender_data.get('procurementMethodType', '') in ( |
647 | - 'aboveThresholdUA.defense'): | |
651 | + 'aboveThresholdUA.defense', | |
652 | + 'simple.defense'): | |
648 | 653 | bid = test_bid_competitive_data() |
649 | 654 | bid.data.selfEligible = True |
650 | 655 | bid.data.selfQualified = True | ... | ... |
Please
register
or
login
to post a comment