From a2915279ed2fbca19aeb648b7683bf009f45937e Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Tue, 28 May 2013 11:14:27 +0200 Subject: [PATCH] Improve test stability Under some circumstances, Canada/Newfoundland (UTC -03:30) can not be found as answer in tests. This patch improves stability here by using cities with the same distances to UTC and UTC DST. Fixes bug 1184901 Change-Id: I7d5739a7c7a504c22cceebeaa3331637993e34ae --- openstack_dashboard/dashboards/settings/user/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/settings/user/tests.py b/openstack_dashboard/dashboards/settings/user/tests.py index 8f38ae5560..c049a04006 100644 --- a/openstack_dashboard/dashboards/settings/user/tests.py +++ b/openstack_dashboard/dashboards/settings/user/tests.py @@ -28,5 +28,6 @@ class UserSettingsTest(test.TestCase): res = self.client.get(INDEX_URL) self.assertContains(res, "Australia/Melbourne (UTC +11:00)") - self.assertContains(res, "Canada/Newfoundland (UTC -03:30)") self.assertContains(res, "Europe/Moscow (UTC +04:00)") + self.assertContains(res, "Atlantic/Stanley (UTC -03:00)") + self.assertContains(res, "Pacific/Honolulu (UTC -10:00)")