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

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

Issue 6542019: Fix pyauto tests broken on Mac by r75344 (Closed) Base URL: svn://svn.chromium.org/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 autofill_dataset_converter
11 import pyauto_functional # Must be imported before pyauto 10 import pyauto_functional # Must be imported before pyauto
12 import pyauto 11 import pyauto
13 12
14 13
15 class AutoFillTest(pyauto.PyUITest): 14 class AutoFillTest(pyauto.PyUITest):
16 """Tests that autofill works correctly""" 15 """Tests that autofill works correctly"""
17 16
18 def Debug(self): 17 def Debug(self):
19 """Test method for experimentation. 18 """Test method for experimentation.
20 19
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 merged_profile = os.path.join(self.DataDir(), 'autofill', 211 merged_profile = os.path.join(self.DataDir(), 'autofill',
213 'merged-profiles.txt') 212 'merged-profiles.txt')
214 profile_dict = self.GetAutoFillProfile()['profiles'] 213 profile_dict = self.GetAutoFillProfile()['profiles']
215 output = open(merged_profile, 'wb') 214 output = open(merged_profile, 'wb')
216 pickle.dump(profile_dict, output) 215 pickle.dump(profile_dict, output)
217 output.close() 216 output.close()
218 217
219 218
220 if __name__ == '__main__': 219 if __name__ == '__main__':
221 pyauto_functional.Main() 220 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