def test_no_upgrade_unless_requested(script):
    script.pip('install', 'INITools==0.1', expect_error=True)
    result = script.pip('install', 'INITools', expect_error=True)
    assert not result.files_created, (
        'pip install INITools upgraded when it should not have'
    )
Given a view and a HTTP method, return the list of permission
dataset/ETHPy150Open pypa/pip/tests/functional/test_install_upgrade.py/test_no_upgrade_unless_requested--crossover with--dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/permissions.py/BaseModulePermission._get_default_permissions