1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Fix Moscow tz check
Apparently, Moscow timezone changed from UTC+4 to UTC+3, so the test fails.
This patch removes the +04 check, and stops testing before that, so that the
check will work whatever Moscow timezone is.
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/775636
Forwarded: no
Last-Update: 2014-01-21
--- horizon-2014.1.3.orig/openstack_dashboard/dashboards/settings/user/tests.py
+++ horizon-2014.1.3/openstack_dashboard/dashboards/settings/user/tests.py
@@ -29,7 +29,7 @@ class UserSettingsTest(test.TestCase):
res = self.client.get(INDEX_URL)
self.assertContains(res, "Australia/Melbourne (UTC +11:00)")
- self.assertContains(res, "Europe/Moscow (UTC +04:00)")
+ self.assertContains(res, "Europe/Moscow (UTC +0")
self.assertContains(res, "Atlantic/Stanley (UTC -03:00)")
self.assertContains(res, "Pacific/Honolulu (UTC -10:00)")
|