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 | 222 | "procurementMethod": "", |
223 | 223 | "procurementMethodType": params['mode'], |
224 | 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 | 228 | "items": [] |
... | ... | @@ -242,6 +242,7 @@ def test_tender_data_planning(params): |
242 | 242 | item_data=test_item_data(id_cpv) |
243 | 243 | del item_data['deliveryAddress'] |
244 | 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 | 246 | del item_data['deliveryDate']['startDate'] |
246 | 247 | data['items'].append(item_data) |
247 | 248 | if params['mode'] in mode_open: | ... | ... |
Please
register
or
login
to post a comment