]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - tests/test_fuse.py
Make fuse3 support optional and document.
[bcachefs-tools-debian] / tests / test_fuse.py
index 877fd64c7c8f50343836221dba383a738c55fa3e..da0a7a42f59bd260a10503d6afdc2c0a7ced8086 100644 (file)
@@ -2,9 +2,13 @@
 #
 # Tests of the fuse mount functionality.
 
+import pytest
 import os
 import util
 
+pytestmark = pytest.mark.skipif(
+    not util.have_fuse(), reason="bcachefs not built with fuse support.")
+
 def test_mount(bfuse):
     bfuse.mount()
     bfuse.unmount()