Commit d62731a592dfee9e2a563faa6ea70499741b90b2

Authored by oleg.stasiv
1 parent 667cc015

Add chnages for creating 'priceQuotation' plan

@@ -376,6 +376,12 @@ def test_tender_data_planning(params): @@ -376,6 +376,12 @@ def test_tender_data_planning(params):
376 breakdown_element = test_breakdown_data() 376 breakdown_element = test_breakdown_data()
377 breakdown_element['value']['amount'] = value 377 breakdown_element['value']['amount'] = value
378 data['budget']['breakdown'].append(breakdown_element) 378 data['budget']['breakdown'].append(breakdown_element)
  379 + if params['mode'] == "priceQuotation":
  380 + for buyer in data['buyers']:
  381 + del buyer['kind']
  382 + del buyer['address']
  383 + del data['procuringEntity']['kind']
  384 + del data['procuringEntity']['address']
379 return munchify(data) 385 return munchify(data)
380 386
381 387
Please register or login to post a comment