Ejemplo n.º 1
0
def runtests(*test_args):
    if not test_args:
        test_args = ['admin_views']
    parent = dirname(abspath(__file__))
    example_project = os.path.join(parent, 'example_project')
    sys.path.insert(0, example_project)
    runner = CoverageRunner()
    failures = runner.run_tests(test_args, verbosity=1, interactive=True)
    sys.exit(failures)
Ejemplo n.º 2
0
def runtests(*test_args):
    if not test_args:
        test_args = ['admin_views']
    parent = dirname(abspath(__file__))
    example_project = os.path.join(parent, 'example_project')
    sys.path.insert(0, example_project)
    runner = CoverageRunner()
    failures = runner.run_tests(test_args, verbosity=1, interactive=True)
    sys.exit(failures)
Ejemplo n.º 3
0
def runtests():
    test_runner = TestRunner(verbosity=1, interactive=True)
    failures = test_runner.run_tests(['tests'])
    sys.exit(failures)
Ejemplo n.º 4
0
def runtests():
    test_runner = TestRunner(verbosity=1, interactive=True)
    failures = test_runner.run_tests(['tests'])
    sys.exit(failures)