@pytest.mark.svn
def test_freeze_svn(script, tmpdir):
 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)

@ pytest . mark . svn def test_freeze_svn ( script , tmpdir ) : 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 )
test freezing a svn checkout .