OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2014 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 sys | 6 import sys |
7 import unittest | 7 import unittest |
8 | 8 |
9 from chromium_deps_unittest import ChromiumDEPSTest | 9 from chromium_deps_unittest import ChromiumDEPSTest |
| 10 from common.http_client_local_unittest import HttpClientLocalTest |
10 | 11 |
11 | 12 |
12 if __name__ == '__main__': | 13 if __name__ == '__main__': |
13 all_tests_suite = unittest.defaultTestLoader.loadTestsFromModule( | 14 all_tests_suite = unittest.defaultTestLoader.loadTestsFromModule( |
14 sys.modules[__name__]) | 15 sys.modules[__name__]) |
15 tests = unittest.TestSuite(all_tests_suite) | 16 tests = unittest.TestSuite(all_tests_suite) |
16 result = unittest.TextTestRunner(stream=sys.stdout, verbosity=2).run(tests) | 17 result = unittest.TextTestRunner(stream=sys.stdout, verbosity=2).run(tests) |
17 sys.exit(len(result.failures) + len(result.errors)) | 18 sys.exit(len(result.failures) + len(result.errors)) |
OLD | NEW |