

@pytest.mark.svn
def test_freeze_svn(script, tmpdir):
    'Test freezing a svn checkout'
    checkout_path = _create_test_package(script, vcs='svn')
    script.run('python', 'setup.py', 'develop', cwd=checkout_path, expect_stderr=True)
    result = script.pip('freeze', expect_stderr=True)
    expected = textwrap.dedent('        ...-e svn+...#egg=version_pkg\n        ...')
    _check_output(result.stdout, expected)

dataset/ETHPy150Open pypa/pip/tests/functional/test_freeze.py test_freeze_svn/original