summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authordyu@chromium.org <dyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-31 03:56:14 +0000
committerdyu@chromium.org <dyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-31 03:56:14 +0000
commit716a6125dd1633606261ba49b30408a466a6fc44 (patch)
treeba6f532b3229675bbc25a363af9ea71642584968 /chrome/test
parenta1649655d5f206a2b682cfc951af5a0f9a66d2a3 (diff)
downloadchromium_src-716a6125dd1633606261ba49b30408a466a6fc44.zip
chromium_src-716a6125dd1633606261ba49b30408a466a6fc44.tar.gz
chromium_src-716a6125dd1633606261ba49b30408a466a6fc44.tar.bz2
Minor fixes due to test verification failures.
TEST=none BUG=none Review URL: https://chromiumcodereview.appspot.com/9301027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119840 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rwxr-xr-xchrome/test/functional/prefs.py2
-rw-r--r--chrome/test/functional/prefs_ui.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/chrome/test/functional/prefs.py b/chrome/test/functional/prefs.py
index 05c579d..1501cea 100755
--- a/chrome/test/functional/prefs.py
+++ b/chrome/test/functional/prefs.py
@@ -248,7 +248,7 @@ class PrefsTest(pyauto.PyUITest):
hostname_pattern = (
'/'.join(self.GetHttpURLForDataPath('').split('/')[0:3]) + '/')
self.assertEqual(
- {hostname_pattern: {hostname_pattern: 3}}, # Block the hostname.
+ {hostname_pattern: {hostname_pattern: 2}}, # Block the hostname.
self.GetPrefsInfo().Prefs(pyauto.kGeolocationContentSettings))
diff --git a/chrome/test/functional/prefs_ui.py b/chrome/test/functional/prefs_ui.py
index 20a04d2..b924842 100644
--- a/chrome/test/functional/prefs_ui.py
+++ b/chrome/test/functional/prefs_ui.py
@@ -147,7 +147,6 @@ class PrefsUITest(pyauto.PyUITest):
self._driver, content_type)
pattern, behavior = ('bing.com', Behaviors.BLOCK)
- raw_input()
page.AddNewException(pattern, behavior)
self.assertEqual(page.GetExceptions()[pattern], Behaviors.BLOCK,
msg='The behavior "%s" was not added for pattern "%s"'