OLD | NEW |
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 Loading... |
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() |
OLD | NEW |