From e326a3f835b51487aeb847c7e34a240f1e770623 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Tue, 24 Jan 2017 11:05:10 +0100 Subject: [PATCH] gists: fixed tests after timezone change --- rhodecode/tests/functional/test_admin_gists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/tests/functional/test_admin_gists.py b/rhodecode/tests/functional/test_admin_gists.py index d8299d2f..f677945f 100644 --- a/rhodecode/tests/functional/test_admin_gists.py +++ b/rhodecode/tests/functional/test_admin_gists.py @@ -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):