We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63003ee commit 15d98d5Copy full SHA for 15d98d5
src/libvcs/pytest_plugin.py
@@ -521,6 +521,11 @@ def empty_svn_repo(
521
empty_svn_repo_path: pathlib.Path,
522
) -> pathlib.Path:
523
"""Return factory to create svn remote repo to for clone / push purposes."""
524
+ if not shutil.which("svn") or not shutil.which("svnadmin"):
525
+ pytest.skip(
526
+ reason="svn is not available",
527
+ )
528
+
529
if empty_svn_repo_path.exists() and (empty_svn_repo_path / "conf").exists():
530
return empty_svn_repo_path
531
0 commit comments