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
4 # found in the LICENSE file.
9 from chromium_deps_unittest
import ChromiumDEPSTest
10 from common
.http_client_local_unittest
import HttpClientLocalTest
13 if __name__
== '__main__':
14 all_tests_suite
= unittest
.defaultTestLoader
.loadTestsFromModule(
15 sys
.modules
[__name__
])
16 tests
= unittest
.TestSuite(all_tests_suite
)
17 result
= unittest
.TextTestRunner(stream
=sys
.stdout
, verbosity
=2).run(tests
)
18 sys
.exit(len(result
.failures
) + len(result
.errors
))