Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18176)

Issue 14486046: Make cw code tests tz agnostic.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by bac
Modified:
10 years, 6 months ago
Reviewers:
rharding, mp+191291
Visibility:
Public.

Description

Make cw code tests tz agnostic. In the past there have been some incredibly hard to debug test failures caused by using .now() vs .utcnow(). During a routine inspection I saw various instances of .now() being used and have replaced them. Added a .lbox to use -cr on propose by default and set the project to lp:charmworld. Fixed the testdebug target to stop on failures in addition to errors. https://code.launchpad.net/~bac/charmworld/utc-smackdown/+merge/191291 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Make cw code tests tz agnostic. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -9 lines) Patch
.lbox View 1 chunk +1 line, -0 lines 0 comments Download
Makefile View 1 chunk +1 line, -1 line 0 comments Download
[revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
charmworld/jobs/tests/test_askubuntu.py View 2 chunks +2 lines, -2 lines 0 comments Download
charmworld/jobs/tests/test_review.py View 1 chunk +1 line, -1 line 0 comments Download
charmworld/migrations/migrate.py View 2 chunks +2 lines, -2 lines 0 comments Download
charmworld/reports.py View 1 chunk +1 line, -1 line 0 comments Download
charmworld/tests/test_utils.py View 1 chunk +1 line, -1 line 0 comments Download
charmworld/utils.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
bac
Please take a look.
10 years, 6 months ago (2013-10-15 20:38:58 UTC) #1
bac
Please take a look.
10 years, 6 months ago (2013-10-16 12:06:12 UTC) #2
rharding
10 years, 6 months ago (2013-10-16 12:06:32 UTC) #3
LGTM reviewed on LP due to the chunk mismatch.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b