← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1407055] Re: All unit test jobs failing due to timezone change (test_timezone_offset_is_displayed)

 

** Changed in: horizon/icehouse
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1407055

Title:
  All unit test jobs failing due to timezone change
  (test_timezone_offset_is_displayed)

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) icehouse series:
  Fix Released
Status in OpenStack Dashboard (Horizon) juno series:
  Fix Committed

Bug description:
  2015-01-02 06:09:33.597 | ======================================================================
  2015-01-02 06:09:33.597 | FAIL: test_timezone_offset_is_displayed (openstack_dashboard.dashboards.settings.user.tests.UserSettingsTest)
  2015-01-02 06:09:33.597 | ----------------------------------------------------------------------
  2015-01-02 06:09:33.597 | Traceback (most recent call last):
  2015-01-02 06:09:33.598 |   File "/home/jenkins/workspace/gate-horizon-python27/openstack_dashboard/dashboards/settings/user/tests.py", line 30, in test_timezone_offset_is_displayed
  2015-01-02 06:09:33.598 |     self.assertContains(res, "UTC +04:00: Russia (Moscow) Time")
  2015-01-02 06:09:33.598 |   File "/home/jenkins/workspace/gate-horizon-python27/.tox/py27/local/lib/python2.7/site-packages/django/test/testcases.py", line 351, in assertContains
  2015-01-02 06:09:33.598 |     msg_prefix + "Couldn't find %s in response" % text_repr)
  2015-01-02 06:09:33.598 | AssertionError: False is not true : Couldn't find 'UTC +04:00: Russia (Moscow) Time' in response
  2015-01-02 06:09:33.598 |     u"False is not true : Couldn't find 'UTC +04:00: Russia (Moscow) Time' in response" = self._formatMessage(u"False is not true : Couldn't find 'UTC +04:00: Russia (Moscow) Time' in response", "%s is not true" % safe_repr(False))
  2015-01-02 06:09:33.598 | >>  raise self.failureException(u"False is not true : Couldn't find 'UTC +04:00: Russia (Moscow) Time' in response")

  
  Noticed in master and Icehouse jobs, I assume Juno is affected too. The timezone appears to be listed as UTC +03:00 now.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1407055/+subscriptions


References