Fix timestamps in tests as Travis builds run on GMT time

When launched manually, tests should be launched with the environment
variable TZ=GMT. Maybe this could be useful to add that explicitly
somewhere in the README or in the Makefile.
This commit is contained in:
Jean-Baptiste Barth 2015-11-03 09:09:00 +01:00
commit f4feec4727
5 changed files with 10 additions and 10 deletions

View file

@ -18,4 +18,4 @@ def test_decapitalize():
@freeze_time("2015-01-01 12:00:00")
def test_now_timestamp():
now_timestamp().should.equal(1420110000.0)
now_timestamp().should.equal(1420113600.0)