diff --git a/tests/test_wstools.py b/tests/test_wstools.py index e98a61f..7eb58fa 100644 --- a/tests/test_wstools.py +++ b/tests/test_wstools.py @@ -8,19 +8,11 @@ import unittest import test_wsdl - -SECTION = 'files' -CONFIG_FILE = 'config.txt' - - def makeTestSuite(): suite = unittest.TestSuite() suite.addTest(test_wsdl.makeTestSuite("services_by_file")) return suite - -def main(): - unittest.main(defaultTest="makeTestSuite") - if __name__ == "__main__": - main() + runner = unittest.TextTestRunner() + runner.run(makeTestSuite())