Skip to content

Commit

Permalink
Added acceleration mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed May 9, 2016
1 parent 9aa4b29 commit f2a2c6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
env:
global:
- TZ=Europe/Kiev
env:
matrix:
- SANDBOX_MODE=
- SANDBOX_MODE=True
cache:
Expand Down
4 changes: 2 additions & 2 deletions openprocurement/tender/openua/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ def go_to_enquiryPeriod_end(self):
self.set_status('active.tendering', {
"enquiryPeriod": {
"startDate": (now - timedelta(days=13)).isoformat(),
"endDate": (now - timedelta(minutes=1) if SANDBOX_MODE else timedelta(days=1)).isoformat()
"endDate": (now - (timedelta(minutes=1) if SANDBOX_MODE else timedelta(days=1))).isoformat()
},
"tenderPeriod": {
"startDate": (now - timedelta(days=13)).isoformat(),
"endDate": (now + timedelta(minutes=2) if SANDBOX_MODE else timedelta(days=2)).isoformat()
"endDate": (now + (timedelta(minutes=2) if SANDBOX_MODE else timedelta(days=2))).isoformat()
},
"auctionPeriod": {
"startDate": (now + timedelta(days=2)).isoformat()
Expand Down

0 comments on commit f2a2c6a

Please sign in to comment.