Showing
1 changed file
with
1 additions
and
1 deletions
@@ -95,8 +95,8 @@ def test_tender_data(params, periods=("enquiry", "tender")): | @@ -95,8 +95,8 @@ def test_tender_data(params, periods=("enquiry", "tender")): | ||
95 | data['lots'][lot_number]['id'] = lot_id | 95 | data['lots'][lot_number]['id'] = lot_id |
96 | for i in range(params['number_of_items']): | 96 | for i in range(params['number_of_items']): |
97 | new_item = test_item_data(cpv_group) | 97 | new_item = test_item_data(cpv_group) |
98 | + new_item['relatedLot'] = lot_id | ||
98 | data['items'].append(new_item) | 99 | data['items'].append(new_item) |
99 | - data['items'][lot_number]['relatedLot'] = lot_id | ||
100 | value_amount = sum(lot['value']['amount'] for lot in data['lots']) | 100 | value_amount = sum(lot['value']['amount'] for lot in data['lots']) |
101 | minimalStep = min(lot['minimalStep']['amount'] for lot in data['lots']) | 101 | minimalStep = min(lot['minimalStep']['amount'] for lot in data['lots']) |
102 | data['value']['amount'] = value_amount | 102 | data['value']['amount'] = value_amount |
Please
register
or
login
to post a comment