def runtests(*test_args):
        if not test_args:
            test_args = [app_to_test]
        parent = dirname(abspath(__file__))
        sys.path.insert(0, parent)
        TestRunner = get_runner(settings)
        test_runner = TestRunner(verbosity=1, interactive=True)
        try:
            from django import setup
            setup()
        except __HOLE__:
            pass
        failures = test_runner.run_tests(test_args)
        sys.exit(failures)
dataset/ETHPy150Open django-de/django-simple-ratings/runtests.py/runtests