@patch('pip.vcs.call_subprocess')
@pytest.mark.network
def test_obtain_should_recognize_auth_info_url(call_subprocess_mock, script):
    svn = Subversion(url='svn+http://username:password@svn.example.com/')
    svn.obtain(script.scratch_path / 'test')
    assert call_subprocess_mock.call_args[0][0] == [
        svn.name, 'checkout', '-q', '--username', 'username', '--password',
        'password', 'http://username:password@svn.example.com/',
        script.scratch_path / 'test',
    ]
dataset/ETHPy150Open pypa/pip/tests/functional/test_install_vcs_svn.py/test_obtain_should_recognize_auth_info_url/original