Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Side by Side Diff: chrome/test/functional/autofill.py

Issue 6538043: Fixed autofill.py import error. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import logging 6 import logging
7 import os 7 import os
8 import pickle 8 import pickle
9 9
10 import dataset_converter 10 import autofill_dataset_converter
11 import pyauto_functional # Must be imported before pyauto 11 import pyauto_functional # Must be imported before pyauto
12 import pyauto 12 import pyauto
13 13
14 14
15 class AutoFillTest(pyauto.PyUITest): 15 class AutoFillTest(pyauto.PyUITest):
16 """Tests that autofill works correctly""" 16 """Tests that autofill works correctly"""
17 17
18 def Debug(self): 18 def Debug(self):
19 """Test method for experimentation. 19 """Test method for experimentation.
20 20
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 merged_profile = os.path.join(self.DataDir(), 'autofill', 212 merged_profile = os.path.join(self.DataDir(), 'autofill',
213 'merged-profiles.txt') 213 'merged-profiles.txt')
214 profile_dict = self.GetAutoFillProfile()['profiles'] 214 profile_dict = self.GetAutoFillProfile()['profiles']
215 output = open(merged_profile, 'wb') 215 output = open(merged_profile, 'wb')
216 pickle.dump(profile_dict, output) 216 pickle.dump(profile_dict, output)
217 output.close() 217 output.close()
218 218
219 219
220 if __name__ == '__main__': 220 if __name__ == '__main__':
221 pyauto_functional.Main() 221 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698