Index: chrome/test/functional/perf_endure.py |
diff --git a/chrome/test/functional/perf_endure.py b/chrome/test/functional/perf_endure.py |
index fed79f499f00ed363d487cb579e2d3ff11c9f4d2..d163f54b4ace17c700f8031cb910f5562118b1ad 100755 |
--- a/chrome/test/functional/perf_endure.py |
+++ b/chrome/test/functional/perf_endure.py |
@@ -34,7 +34,6 @@ import remote_inspector_client |
import selenium.common.exceptions |
from selenium.webdriver.support.ui import WebDriverWait |
dennis_jeffrey
2012/08/15 01:21:17
add 1 more blank line here to separate the imports
fdeng1
2012/08/16 17:42:49
Done.
|
- |
class NotSupportedEnvironmentError(RuntimeError): |
"""Represent an error raised since the environment (OS) is not supported.""" |
pass |
@@ -602,7 +601,7 @@ class ChromeEndureGmailTest(ChromeEndureBaseTest): |
# Log into a test Google account and open up Gmail. |
self._LoginToGoogleAccount(account_key='test_google_account_gmail') |
- self.NavigateToURL('http://www.gmail.com') |
+ self.NavigateToURL(self._GetConfig().get('gmail_url')) |
loaded_tab_title = self.GetActiveTabTitle() |
self.assertTrue(self._TAB_TITLE_SUBSTRING in loaded_tab_title, |
msg='Loaded tab title does not contain "%s": "%s"' % |
@@ -940,7 +939,7 @@ class ChromeEndureDocsTest(ChromeEndureBaseTest): |
# Log into a test Google account and open up Google Docs. |
self._LoginToGoogleAccount() |
- self.NavigateToURL('http://docs.google.com') |
+ self.NavigateToURL(self._GetConfig().get('docs_url')) |
self.assertTrue( |
self.WaitUntil(lambda: self._TAB_TITLE_SUBSTRING in |
self.GetActiveTabTitle(), |
@@ -1012,7 +1011,7 @@ class ChromeEndurePlusTest(ChromeEndureBaseTest): |
# Log into a test Google account and open up Google Plus. |
self._LoginToGoogleAccount() |
- self.NavigateToURL('http://plus.google.com') |
+ self.NavigateToURL(self._GetConfig().get('plus_url')) |
loaded_tab_title = self.GetActiveTabTitle() |
self.assertTrue(self._TAB_TITLE_SUBSTRING in loaded_tab_title, |
msg='Loaded tab title does not contain "%s": "%s"' % |