@pytest.mark.svn
def test_freeze_svn(script, tmpdir):

    checkout_path = _create_test_package(script, vcs='svn')

    # Install with develop
    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
        ...""")
    _check_output(result.stdout, expected)
Test freezing a svn checkout
dataset/ETHPy150Open pypa/pip/tests/functional/test_freeze.py/test_freeze_svn