summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 21:28:00 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 21:28:00 +0000
commitcc61b06f7d7e9a8332d3c22e4f0086ecb8307b7b (patch)
tree813d7b2e0430c5c83a9f3ba05a30bb8581893dcd /chrome/test
parent9ed91ed6de3ddcc52f609aa3ffe337b08fcbf298 (diff)
downloadchromium_src-cc61b06f7d7e9a8332d3c22e4f0086ecb8307b7b.zip
chromium_src-cc61b06f7d7e9a8332d3c22e4f0086ecb8307b7b.tar.gz
chromium_src-cc61b06f7d7e9a8332d3c22e4f0086ecb8307b7b.tar.bz2
Make sure private data does not inadverently get printed out
Review URL: http://codereview.chromium.org/5921001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/functional/test_utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/test/functional/test_utils.py b/chrome/test/functional/test_utils.py
index cdd3f05..978e488 100644
--- a/chrome/test/functional/test_utils.py
+++ b/chrome/test/functional/test_utils.py
@@ -87,7 +87,9 @@ def VerifyGoogleAccountCredsFilled(test, username, password, tab_index=0,
passwd_value = test.GetDOMValue('document.getElementById("Passwd").value',
windex, tab_index)
test.assertEqual(email_value, username)
- test.assertEqual(passwd_value, password)
+ # Not using assertEqual because if it fails it would end up dumping the
+ # password (which is supposed to be private)
+ test.assertTrue(passwd_value == password)
def ClearPasswords(test):