def main():
    TestRunner = get_runner(settings)
    import ipdb;ipdb.set_trace()

    test_runner = TestRunner()
    if len(sys.argv) == 2:
        test_case = '.' + sys.argv[1]
    elif len(sys.argv) == 1:
        test_case = ''
    else:
        print(usage())
        sys.exit(1)
    test_module_name = 'rest_framework_nested.tests'
    if django.VERSION[0] == 1 and django.VERSION[1] < 6:
        test_module_name = 'tests'

    failures = test_runner.run_tests([test_module_name + test_case])

    sys.exit(failures)
dataset/ETHPy150Open alanjds/drf-nested-routers/rest_framework_nested/runtests/runtests.py/main/original