Skip running svn tests when svn isn't installed
@@ -1037,6 +1037,12 @@ def need_bzr(fn):
)(fn))
+def need_svn(fn):
+ return pytest.mark.svn(need_executable(
+ 'Subversion', ('svn', '--version')
+ )(fn))
+
+
def need_mercurial(fn):
return pytest.mark.mercurial(need_executable(
'Mercurial', ('hg', 'version')
