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

Side by Side Diff: chrome/tools/webforms_aggregator_unittests.py

Issue 8680018: Fix python scripts in src/chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 9 years 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 | « chrome/tools/webforms_aggregator_tests.py ('k') | chrome/tools/webforms_extractor.py » ('j') | 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/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 subprocess 8 import subprocess
9 import tempfile 9 import tempfile
10 import unittest 10 import unittest
11 11
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 c = webforms_aggregator.ThreadedCrawler(self.files['url']) 289 c = webforms_aggregator.ThreadedCrawler(self.files['url'])
290 self.assertNotEqual( 290 self.assertNotEqual(
291 c.Run(), -1, 291 c.Run(), -1,
292 msg='Threaded crawler could not find the reg page from the URLs file') 292 msg='Threaded crawler could not find the reg page from the URLs file')
293 293
294 294
295 if __name__ == '__main__': 295 if __name__ == '__main__':
296 suite = unittest.TestLoader().loadTestsFromTestCase( 296 suite = unittest.TestLoader().loadTestsFromTestCase(
297 WebformsAggregatorTest) 297 WebformsAggregatorTest)
298 unittest.TextTestRunner(verbosity=2).run(suite) 298 unittest.TextTestRunner(verbosity=2).run(suite)
OLDNEW
« no previous file with comments | « chrome/tools/webforms_aggregator_tests.py ('k') | chrome/tools/webforms_extractor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698