From 6528646d4b3ce79ded9eafaae2b1805f0d4a7c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20B=C3=A5nvik?= Date: Thu, 19 Dec 2024 11:52:49 +0100 Subject: [PATCH] Check if subversion is available before running svn provider test Fixed formatting. --- tests/test_provider.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_provider.py b/tests/test_provider.py index e90e074f..629e5184 100644 --- a/tests/test_provider.py +++ b/tests/test_provider.py @@ -59,6 +59,7 @@ def test_github_provider(): assert fref.read() == fgen.read(), f +@pytest.mark.skipif(shutil.which("svn") == None, reason="Subversion not installed") def test_svn_provider(): cache_root = tempfile.mkdtemp("svn_") core = Core(