Comment 0 for bug 1410825

Revision history for this message
Svetlana Shturm (sshturm) wrote :

Horizon unit test jobs failing due to timezone change (test_timezone_offset_is_displayed)
10:32:59 Traceback (most recent call last):
10:32:59 File "/home/jenkins/workspace/gate-horizon-python27/openstack_dashboard/dashboards/settings/user/tests.py", line 32, in test_timezone_offset_is_displayed
10:32:59 self.assertContains(res, "Europe/Moscow (UTC +04:00)")
10:32:59 File "/home/jenkins/workspace/gate-horizon-python27/.tox/py27/local/lib/python2.7/site-packages/django/test/testcases.py", line 351, in assertContains
10:32:59 msg_prefix + "Couldn't find %s in response" % text_repr)
10:32:59 AssertionError: False is not true : Couldn't find 'Europe/Moscow (UTC +04:00)' in response
10:32:59 u"False is not true : Couldn't find 'Europe/Moscow (UTC +04:00)' in response" = self._formatMessage(u"False is not true : Couldn't find 'Europe/Moscow (UTC +04:00)' in response", "%s is not true" % safe_repr(False))
10:32:59 >> raise self.failureException(u"False is not true : Couldn't find 'Europe/Moscow (UTC +04:00)' in response")

Related bug: https://bugs.launchpad.net/horizon/+bug/1407055