diff options
| author | Brian Potchik <brian@vector35.com> | 2019-09-21 23:44:22 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2019-09-21 23:44:22 -0400 |
| commit | ae51b060402a939afcae5b52e30cfebd4944a26e (patch) | |
| tree | 2f61ddb2d3988c72ef7ad513c17997f1c7f707a3 /unit_api.py | |
| parent | 19d42b4d5ce3802e59560791aa1caab19f2219b0 (diff) | |
Unit test cleanup.
Diffstat (limited to 'unit_api.py')
| -rwxr-xr-x | unit_api.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/unit_api.py b/unit_api.py deleted file mode 100755 index 3c93e823..00000000 --- a/unit_api.py +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env python -# This test file is maintained for API unit test distribution. -import os -import sys -import unittest -import pickle -import zipfile -import difflib -from collections import Counter - -api_suite_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "api", "suite") -sys.path.append(api_suite_path) -import testcommon -import api_test - -global verbose -verbose = False - -if __name__ == "__main__": - if len(sys.argv) > 1: - for i in range(1, len(sys.argv)): - if sys.argv[i] == '-v' or sys.argv[i] == '-V' or sys.argv[i] == '--verbose': - verbose = True - - test_suite = unittest.defaultTestLoader.loadTestsFromModule(api_test) - runner = unittest.TextTestRunner(verbosity=2) - runner.run(test_suite) |
