# HG changeset patch # User Marcin Kuzminski # Date 2017-01-24 10:05:10 # Node ID fd10a3df0bcbe384b5ee755c61cc76f15fe93114 # Parent e7cd3f1f380d8d58c2eb12fcfa3f54b6e5215921 gists: fixed tests after timezone change diff --git a/rhodecode/tests/functional/test_admin_gists.py b/rhodecode/tests/functional/test_admin_gists.py --- 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):