@pytest.mark.network
def test_install_editable_from_git_with_https(script, tmpdir):
 result = script.pip('install', '-e', ('%s#egg=pip-test-package' % local_checkout('git+https://github.com/pypa/pip-test-package.git', tmpdir.join('cache'))), expect_error=True)
 result.assert_installed('pip-test-package', with_files=['.git'])

@ pytest . mark . network def test_install_editable_from_git_with_https ( script , tmpdir ) : result = script . pip ( 'install' , '-e' , ( '%s#egg=pip-test-package' % local_checkout ( 'git+https://github.com/pypa/pip-test-package.git' , tmpdir . join ( 'cache' ) ) ) , expect_error = True ) result . assert_installed ( 'pip-test-package' , with_files = [ '.git' ] )
test cloning from git with https .