From: Thomas Goirand Date: Wed, 21 Jan 2015 15:02:30 +0000 (+0100) Subject: Adds Moscow tz check fix. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=853841005075eb21f4e22d6ede2daa1886f09c83;p=openstack-build%2Fhorizon-build.git Adds Moscow tz check fix. Rewritten-From: 5315fa540d8e9dca85fb8f56add1bf5ce5b153e9 --- diff --git a/trusty/debian/patches/fix-moscow-tz-check.patch b/trusty/debian/patches/fix-moscow-tz-check.patch new file mode 100644 index 0000000..30b521c --- /dev/null +++ b/trusty/debian/patches/fix-moscow-tz-check.patch @@ -0,0 +1,19 @@ +Description: Fix Moscow tz check + It seems that the test fails because Moscow tz changed. This patch removes + the UTC +04 check. +Author: Thomas Goirand +Bug-Debian: http://bugs.debian.org/775636 +Forwarded: no +Last-Update: 2014-01-21 + +--- horizon-2015.1~b1.orig/openstack_dashboard/dashboards/settings/user/tests.py ++++ horizon-2015.1~b1/openstack_dashboard/dashboards/settings/user/tests.py +@@ -27,7 +27,7 @@ class UserSettingsTest(test.TestCase): + res = self.client.get(INDEX_URL) + + self.assertContains(res, "UTC +11:00: Australia (Melbourne) Time") +- self.assertContains(res, "UTC +04:00: Russia (Moscow) Time") ++ self.assertContains(res, "Russia (Moscow) Time") + self.assertContains(res, "UTC -03:00: Falkland Islands Time") + self.assertContains(res, "UTC -10:00: United States (Honolulu) Time") + diff --git a/trusty/debian/patches/series b/trusty/debian/patches/series index 15031e2..8cbc337 100644 --- a/trusty/debian/patches/series +++ b/trusty/debian/patches/series @@ -2,3 +2,4 @@ fix-dashboard-django-wsgi.patch fix-dashboard-manage.patch fixed-horizon-MANIFEST.in.patch disable-failed-django-1.7-test.patch +fix-moscow-tz-check.patch