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
This commit is contained in:
Matthias Runge 2013-05-28 11:14:27 +02:00
parent d93434b3b4
commit a2915279ed
1 changed files with 2 additions and 1 deletions

View File

@ -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)")