Commit aa13e53f9b4b040481f402ef633ad287cd7b4917

Authored by Myroslav Opyr
2 parents ed2d449e 75ff8b25

Merge pull request #164 from mykhaly/initial_data_2.3

Add `procuringEntity.kind` to initial tenders data
@@ -57,7 +57,8 @@ def test_tender_data(intervals, periods=("enquiry", "tender")): @@ -57,7 +57,8 @@ def test_tender_data(intervals, periods=("enquiry", "tender")):
57 "contactPoint": { 57 "contactPoint": {
58 "name": fake.name(), 58 "name": fake.name(),
59 "telephone": fake.phone_number() 59 "telephone": fake.phone_number()
60 - } 60 + },
  61 + "kind": "other"
61 }, 62 },
62 "value": { 63 "value": {
63 "amount": 50000.99, 64 "amount": 50000.99,
@@ -148,7 +149,8 @@ def test_tender_data_limited(intervals, procurement_method_type): @@ -148,7 +149,8 @@ def test_tender_data_limited(intervals, procurement_method_type):
148 "legalName": u"Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\"", 149 "legalName": u"Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\"",
149 "scheme": u"UA-EDR" 150 "scheme": u"UA-EDR"
150 }, 151 },
151 - "name": u"ЗОСШ #10 м.Вінниці" 152 + "name": u"ЗОСШ #10 м.Вінниці",
  153 + "kind": "general"
152 }, 154 },
153 "value": { 155 "value": {
154 "amount": 500000, 156 "amount": 500000,
@@ -659,6 +661,7 @@ def test_tender_data_openua(intervals): @@ -659,6 +661,7 @@ def test_tender_data_openua(intervals):
659 t_data['procurementMethodType'] = 'aboveThresholdUA' 661 t_data['procurementMethodType'] = 'aboveThresholdUA'
660 t_data['procurementMethodDetails'] = 'quick, ' \ 662 t_data['procurementMethodDetails'] = 'quick, ' \
661 'accelerator={}'.format(accelerator) 663 'accelerator={}'.format(accelerator)
  664 + t_data['procuringEntity']['kind'] = 'general'
662 return t_data 665 return t_data
663 666
664 667
@@ -680,4 +683,5 @@ def test_tender_data_openeu(intervals): @@ -680,4 +683,5 @@ def test_tender_data_openeu(intervals):
680 t_data['procuringEntity']['contactPoint']['name_en'] = fake_en.name() 683 t_data['procuringEntity']['contactPoint']['name_en'] = fake_en.name()
681 t_data['procuringEntity']['contactPoint']['availableLanguage'] = "en" 684 t_data['procuringEntity']['contactPoint']['availableLanguage'] = "en"
682 t_data['procuringEntity']['identifier']['legalName_en'] = "Institution \"Vinnytsia City Council primary and secondary general school № 10\"" 685 t_data['procuringEntity']['identifier']['legalName_en'] = "Institution \"Vinnytsia City Council primary and secondary general school № 10\""
  686 + t_data['procuringEntity']['kind'] = 'general'
683 return t_data 687 return t_data
Please register or login to post a comment