예제 #1
0
파일: manage.py 프로젝트: slifty/hackpub
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)
예제 #2
0
파일: manage.py 프로젝트: gerv/hackpub
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)
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)