From ae51b060402a939afcae5b52e30cfebd4944a26e Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sat, 21 Sep 2019 23:44:22 -0400 Subject: Unit test cleanup. --- unit_api.py | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100755 unit_api.py (limited to 'unit_api.py') 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) -- cgit v1.3.1