gists: fixed tests after timezone change

This commit is contained in:
Marcin Kuzminski 2017-01-24 11:05:10 +01:00
parent c50ec095c3
commit e326a3f835

View file

@ -90,7 +90,7 @@ class TestGistsController(TestController):
# Expiration information should be visible
expires_tag = '%s' % h.age_component(
h.time_to_datetime(g2.gist_expires))
h.time_to_utcdatetime(g2.gist_expires))
response.mustcontain(expires_tag.replace('"', '\\"'))
def test_index_private_gists(self, create_gist):