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 ff48771 commit e4d26d4Copy full SHA for e4d26d4
test/test_commands.py
@@ -4,6 +4,7 @@
4
import sys
5
import unittest
6
from io import StringIO
7
+from shutil import which
8
9
import vcs2l.executor as executor
10
from vcs2l.clients.git import GitClient
@@ -19,6 +20,10 @@
19
20
os.path.dirname(os.path.dirname(__file__)), 'test_workspace'
21
)
22
23
+svn = which('svn')
24
+svnadmin = which('svnadmin')
25
+hg = which('hg')
26
+
27
28
class TestCommands(StagedReposFile):
29
@classmethod
@@ -354,6 +359,7 @@ def test_status(self):
354
359
self.assertEqual(output, expected)
355
360
356
361
362
+@unittest.skipIf(not svn or not svnadmin or not hg, 'svn or hg was not found')
357
363
class TestCommands2(StagedReposFile2):
358
364
365
def setUpClass(cls):
0 commit comments