def test(args): 'run tests' import unittest from hackpub.test import test_app loader = unittest.defaultTestLoader suite = test_app.load_tests(loader, unittest.TestSuite(), args.pattern) unittest.TextTestRunner(verbosity=1).run(suite)
def test(args): 'run tests' import unittest from hackpub.test import test_app, test_multiplexer loader = unittest.defaultTestLoader suite = test_app.load_tests(loader, unittest.TestSuite(), args.pattern) suite.addTest(loader.loadTestsFromModule(test_multiplexer)) unittest.TextTestRunner(verbosity=1).run(suite)