Commit 15f3f7fb87670425bb19a591d113967375c7f693
1 parent
ea9a49ab
Edit deliveryDate and tenderPeriod.StarDate
Showing
1 changed file
with
2 additions
and
1 deletions
@@ -222,7 +222,7 @@ def test_tender_data_planning(params): | @@ -222,7 +222,7 @@ def test_tender_data_planning(params): | ||
222 | "procurementMethod": "", | 222 | "procurementMethod": "", |
223 | "procurementMethodType": params['mode'], | 223 | "procurementMethodType": params['mode'], |
224 | "tenderPeriod": { | 224 | "tenderPeriod": { |
225 | - "startDate": (get_now().isoformat()) | 225 | + "startDate": get_now().replace(hour=0, minute=0, second=0, microsecond=0).isoformat() |
226 | } | 226 | } |
227 | }, | 227 | }, |
228 | "items": [] | 228 | "items": [] |
@@ -242,6 +242,7 @@ def test_tender_data_planning(params): | @@ -242,6 +242,7 @@ def test_tender_data_planning(params): | ||
242 | item_data=test_item_data(id_cpv) | 242 | item_data=test_item_data(id_cpv) |
243 | del item_data['deliveryAddress'] | 243 | del item_data['deliveryAddress'] |
244 | del item_data['deliveryLocation'] | 244 | del item_data['deliveryLocation'] |
245 | + item_data['deliveryDate']['endDate'] = (get_now() + timedelta(days=10)).replace(hour=0, minute=0, second=0, microsecond=0).isoformat() | ||
245 | del item_data['deliveryDate']['startDate'] | 246 | del item_data['deliveryDate']['startDate'] |
246 | data['items'].append(item_data) | 247 | data['items'].append(item_data) |
247 | if params['mode'] in mode_open: | 248 | if params['mode'] in mode_open: |
Please
register
or
login
to post a comment