Showing
1 changed file
with
7 additions
and
6 deletions
@@ -86,11 +86,11 @@ def test_tender_data(): | @@ -86,11 +86,11 @@ def test_tender_data(): | ||
86 | }, | 86 | }, |
87 | "tenderPeriod": { | 87 | "tenderPeriod": { |
88 | "startDate": (now + timedelta(minutes=2)).isoformat(), | 88 | "startDate": (now + timedelta(minutes=2)).isoformat(), |
89 | - "endDate": (now + timedelta(minutes=3)).isoformat() | 89 | + "endDate": (now + timedelta(minutes=35)).isoformat() |
90 | } | 90 | } |
91 | } | 91 | } |
92 | 92 | ||
93 | -def prom_tender_data(): | 93 | +def prom_test_tender_data(): |
94 | now = datetime.now() | 94 | now = datetime.now() |
95 | return { | 95 | return { |
96 | "title": fake.catch_phrase(), | 96 | "title": fake.catch_phrase(), |
@@ -132,6 +132,7 @@ def prom_tender_data(): | @@ -132,6 +132,7 @@ def prom_tender_data(): | ||
132 | { | 132 | { |
133 | "description": fake.catch_phrase(), | 133 | "description": fake.catch_phrase(), |
134 | "deliveryDate": { | 134 | "deliveryDate": { |
135 | + "startDate": (now + timedelta(days=4)).isoformat(), | ||
135 | "endDate": (now + timedelta(days=5)).isoformat() | 136 | "endDate": (now + timedelta(days=5)).isoformat() |
136 | }, | 137 | }, |
137 | "deliveryLocation": { | 138 | "deliveryLocation": { |
@@ -165,12 +166,12 @@ def prom_tender_data(): | @@ -165,12 +166,12 @@ def prom_tender_data(): | ||
165 | } | 166 | } |
166 | ], | 167 | ], |
167 | "enquiryPeriod": { | 168 | "enquiryPeriod": { |
168 | - "startDate": (now + timedelta(minutes=1)).isoformat(), | ||
169 | - "endDate": (now + timedelta(minutes=3)).isoformat() | 169 | + "startDate": (now + timedelta(days=1)).isoformat(), |
170 | + "endDate": (now + timedelta(days=2)).isoformat() | ||
170 | }, | 171 | }, |
171 | "tenderPeriod": { | 172 | "tenderPeriod": { |
172 | - "startDate": (now + timedelta(minutes=5)).isoformat(), | ||
173 | - "endDate": (now + timedelta(minutes=36)).isoformat() | 173 | + "startDate": (now + timedelta(days=3)).isoformat(), |
174 | + "endDate": (now + timedelta(days=5)).isoformat() | ||
174 | } | 175 | } |
175 | } | 176 | } |
176 | 177 |
Please
register
or
login
to post a comment