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

Side by Side Diff: unittests/package_test.py

Issue 2702313003: Remove unused imports and fix some other linter errors. (Closed)
Patch Set: Created 3 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
« recipe_engine/step_runner.py ('K') | « unittests/autoroll_test.py ('k') | 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/env python 1 #!/usr/bin/env python
2 # Copyright 2015 The LUCI Authors. All rights reserved. 2 # Copyright 2015 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed under the Apache License, Version 2.0 3 # Use of this source code is governed under the Apache License, Version 2.0
4 # that can be found in the LICENSE file. 4 # that can be found in the LICENSE file.
5 5
6 import copy 6 import copy
7 import doctest 7 import doctest
8 import os 8 import os
9 import subprocess 9 import subprocess
10 import sys
11 import unittest 10 import unittest
12 11
13 import repo_test_util 12 import repo_test_util
14 13
15 import mock 14 import mock
16 from recipe_engine import package 15 from recipe_engine import package
17 16
18 17
19 TEST_AUTHOR = 'foo@example.com' 18 TEST_AUTHOR = 'foo@example.com'
20 19
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 self.assertFalse(checkout.called) 470 self.assertFalse(checkout.called)
472 471
473 472
474 def load_tests(_loader, tests, _ignore): 473 def load_tests(_loader, tests, _ignore):
475 tests.addTests(doctest.DocTestSuite(package)) 474 tests.addTests(doctest.DocTestSuite(package))
476 return tests 475 return tests
477 476
478 477
479 if __name__ == '__main__': 478 if __name__ == '__main__':
480 result = unittest.main() 479 result = unittest.main()
OLDNEW
« recipe_engine/step_runner.py ('K') | « unittests/autoroll_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698