• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zulip / zulip / 13305
3%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2017 07:03AM UTC
Jobs 7
Files 338
Run time 11min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
13305

push

travis-ci

timabbott
Replace datetime.now() with timezone.now() in Django ORM queries.

When you pass a naive datetime to the Django ORM, it uses settings.TIME_ZONE
for the time zone. In the development environment, both settings.TIME_ZONE
and datetime.now() use 'America/New_York', so there is no change in behavior
there. (fromtimestamp with no tz argument uses the same timezone as
datetime.now)

We are soon going to change settings.TIME_ZONE to UTC, so need to remove
naive datetimes from queries to the ORM.

1 of 1 new or added line in 1 file covered. (100.0%)

27590 of 30520 relevant lines covered (90.4%)

1.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
zerver/lib/actions.py
Jobs
ID Job ID Ran Files Coverage
1 13305.1 (TEST_SUITE=static-analysis) 02 Mar 2017 07:03AM UTC 0
Travis Job 13305.1
2 13305.2 (TEST_SUITE=production) 02 Mar 2017 07:10AM UTC 0
Travis Job 13305.2
3 13305.3 (TEST_SUITE=production) 02 Mar 2017 07:10AM UTC 0
Travis Job 13305.3
4 13305.4 (TEST_SUITE=frontend) 02 Mar 2017 07:05AM UTC 0
Travis Job 13305.4
5 13305.5 (TEST_SUITE=frontend) 02 Mar 2017 07:06AM UTC 0
Travis Job 13305.5
6 13305.6 (TEST_SUITE=backend) 02 Mar 2017 07:11AM UTC 0
90.31
Travis Job 13305.6
7 13305.7 (TEST_SUITE=backend) 02 Mar 2017 07:15AM UTC 0
90.4
Travis Job 13305.7
Source Files on build 13305
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13305
  • 562bc642 on github
  • Prev Build on master (#13304)
  • Next Build on master (#13306)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc