summaryrefslogtreecommitdiffstats
path: root/chrome/test/functional/autofill.py
diff options
context:
space:
mode:
authordennisjeffrey@chromium.org <dennisjeffrey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-09 16:41:42 +0000
committerdennisjeffrey@chromium.org <dennisjeffrey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-09 16:41:42 +0000
commitc8a729332e21c894aaebd5c2dd22d9a0e39377ff (patch)
treed76fbc1ba222d3cd153fc9d9e1fd5292c0f5a57b /chrome/test/functional/autofill.py
parentb2d071e11c9725b9b95e8ee6098df6a9290a3e5f (diff)
downloadchromium_src-c8a729332e21c894aaebd5c2dd22d9a0e39377ff.zip
chromium_src-c8a729332e21c894aaebd5c2dd22d9a0e39377ff.tar.gz
chromium_src-c8a729332e21c894aaebd5c2dd22d9a0e39377ff.tar.bz2
Fix for pyauto autofill test: testFillProfileCrazyCharacters
Recent changes to Autofill required some modifications to the input data files for this pyauto test. The test should now pass, and is being re-enabled. BUG=77969 TEST=None Review URL: http://codereview.chromium.org/6952002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/functional/autofill.py')
-rw-r--r--chrome/test/functional/autofill.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/test/functional/autofill.py b/chrome/test/functional/autofill.py
index 2a62325..59f27d0 100644
--- a/chrome/test/functional/autofill.py
+++ b/chrome/test/functional/autofill.py
@@ -59,7 +59,8 @@ class AutofillTest(pyauto.PyUITest):
profiles = self.EvalDataFrom(file_path)
self.FillAutofillProfile(profiles=profiles)
- self.assertEqual(profiles, self.GetAutofillProfile()['profiles'])
+ self.assertEqual(profiles, self.GetAutofillProfile()['profiles'],
+ msg='Autofill profile data does not match.')
# Adding credit cards.
file_path = os.path.join(self.DataDir(), 'autofill', 'functional',
@@ -67,8 +68,10 @@ class AutofillTest(pyauto.PyUITest):
test_data = self.EvalDataFrom(file_path)
credit_cards_input = test_data['input']
self.FillAutofillProfile(credit_cards=credit_cards_input)
+
self.assertEqual(test_data['expected'],
- self.GetAutofillProfile()['credit_cards'])
+ self.GetAutofillProfile()['credit_cards'],
+ msg='Autofill credit card data does not match.')
def testGetProfilesEmpty(self):
"""Test getting profiles when none have been filled."""