

def runtests(*test_args):
    if (not test_args):
        test_args = ['tests']
    parent = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
    sys.path.insert(0, parent)
    try:
        from django.test.runner import DiscoverRunner as Runner
    except ImportError:
        from django.test.simple import DjangoTestSuiteRunner as Runner
    failures = Runner(verbosity=1, interactive=True, failfast=False).run_tests(test_args)
    sys.exit(failures)

dataset/ETHPy150Open carljm/django-form-utils/tests/runtests.py runtests/original