diff options
Diffstat (limited to 'tests/sources/git.py')
-rw-r--r-- | tests/sources/git.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/sources/git.py b/tests/sources/git.py index ef18e3ce3..f3d4d0493 100644 --- a/tests/sources/git.py +++ b/tests/sources/git.py @@ -5,13 +5,15 @@ from buildstream._exceptions import ErrorDomain from buildstream import _yaml from tests.testutils import cli, create_repo -from tests.testutils.site import HAVE_GIT +from tests.testutils.site import HAVE_GIT, IS_LINUX, NO_FUSE DATA_DIR = os.path.join( os.path.dirname(os.path.realpath(__file__)), 'git', ) +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') + @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) |