diff --git a/rhodecode/tests/__init__.py b/rhodecode/tests/__init__.py
--- a/rhodecode/tests/__init__.py
+++ b/rhodecode/tests/__init__.py
@@ -8,6 +8,7 @@ This module initializes the application
setup-app`) and provides the base testing objects.
"""
import os
+import time
from os.path import join as jn
from unittest import TestCase
@@ -20,11 +21,13 @@ from webtest import TestApp
from rhodecode.model import meta
import logging
+import pylons.test
+
+os.environ['TZ'] = 'UTC'
+time.tzset()
log = logging.getLogger(__name__)
-import pylons.test
-
__all__ = ['environ', 'url', 'TestController', 'TESTS_TMP_PATH', 'HG_REPO',
'GIT_REPO', 'NEW_HG_REPO', 'NEW_GIT_REPO', 'HG_FORK', 'GIT_FORK',
'TEST_USER_ADMIN_LOGIN', 'TEST_USER_ADMIN_PASS' ]
diff --git a/rhodecode/tests/functional/test_changelog.py b/rhodecode/tests/functional/test_changelog.py
--- a/rhodecode/tests/functional/test_changelog.py
+++ b/rhodecode/tests/functional/test_changelog.py
@@ -12,8 +12,9 @@ class TestChangelogController(TestContro
self.assertTrue(""""""
in response.body)
- self.assertTrue("""commit 154: 5e204e7583b9@2010-08-10 """
- """02:18:46""" in response.body)
+ self.assertTrue("""commit 154: 5e204e7583b9@2010-08-09 """
+ """23:18:46""" in response.body)
+
self.assertTrue("""Small update at simplevcs app""" in response.body)
@@ -23,7 +24,6 @@ class TestChangelogController(TestContro
"""show more details">3""" in response.body)
#pagination
-
response = self.app.get(url(controller='changelog', action='index',
repo_name=HG_REPO), {'page':1})
response = self.app.get(url(controller='changelog', action='index',
@@ -42,8 +42,8 @@ class TestChangelogController(TestContro
self.assertTrue(""""""
in response.body)
- self.assertTrue("""commit 64: 46ad32a4f974@2010-04-20"""
- """ 01:33:21"""in response.body)
+ self.assertTrue("""commit 64: 46ad32a4f974@2010-04-19"""
+ """ 22:33:21"""in response.body)
self.assertTrue(""""""
"""Merge with 2e6a2bf9356ca56df08807f4ad86d48"""
"""0da72a8f4""" % HG_REPO in response.body)
-
-
-
- #def test_index_git(self):
- # self.log_user()
- # response = self.app.get(url(controller='changelog', action='index', repo_name=GIT_REPO))