import unittest | |
# import your test modules | |
from tests.vcpeutils.SoUtils_test import * | |
# initialize the test suite | |
loader = unittest.TestLoader() | |
suite = unittest.TestSuite() | |
# add tests to the test suite | |
suite.addTests(loader.loadTestsFromTestCase(SoUtilsTest)) | |
# initialize a runner, pass it your suite and run it | |
runner = unittest.TextTestRunner(verbosity=3) | |
result = runner.run(suite) |