

def main():
    cwd = os.getcwd()
    if ((not (cwd in sys.path)) or (not (cwd.strip(os.sep) in sys.path))):
        sys.path.append(cwd)
    (found, kwargs) = (False, {
        
    })
    manager = EntryPointPluginManager()
    manager.loadPlugins()
    for plugin in manager.plugins:
        if isinstance(plugin, DjangoPlugin):
            found = True
            break
    if (not found):
        kwargs = {
            'addplugins': [DjangoPlugin()],
        }
    os.environ['NOSE_WITH_DJANGO'] = '1'
    nose.main(**kwargs)

dataset/ETHPy150Open playpauseandstop/tddspry/bin/django-nosetests.py main/original