def is_directory(f):

    return is_path(f) and os.path.isdir(f)
Test the ability to add a repository to an organization.
dataset/ETHPy150Open thisissoon/Flask-Store/flask_store/utils.py/is_directory--crossover with--dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_orgs.py/TestOrganization.test_add_repository