4 Copyright 2014 Google Inc.
6 Use of this source code is governed by a BSD-style license that can be
7 found in the LICENSE file.
9 Run all unittests within this directory tree, recursing into subdirectories.
17 suite = unittest.TestLoader().discover(os.path.dirname(__file__),
19 results = unittest.TextTestRunner(verbosity=2).run(suite)
21 if not results.wasSuccessful():
22 raise Exception('failed one or more unittests')
24 if __name__ == '__main__':