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:
parent
d93434b3b4
commit
a2915279ed
@ -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)")
|
||||
|
Loading…
Reference in New Issue
Block a user