summaryrefslogtreecommitdiff
path: root/tests/test_fuse.py
diff options
context:
space:
mode:
authorBrett Holman <bholman.devel@gmail.com>2021-10-11 15:23:09 -0600
committerBrett Holman <bholman.devel@gmail.com>2021-10-11 20:24:12 -0600
commit60a6b2882ebdfca8930b6c7f130f12feb1938520 (patch)
tree01817473de4d05149a161d564cbf5f47b2a0c6f9 /tests/test_fuse.py
parentba1dbafc1fce6d37c3703e9788bbf5a72f8e55a3 (diff)
Clean up smoketest and pytests.
- Replace depreciated tempfile with mktemp in smoketest. - Remove unused pytest imports and variables. - Make path lookup less fragile. Allows pytest to run from any cwd. - Prevent exeptions caused by calling functions/methods on None objects. - Disable fuse tests in smoketest. These are broken and add noise. - Add missing travis CI dependency. Signed-off-by: Brett Holman <bholman.devel@gmail.com>
Diffstat (limited to 'tests/test_fuse.py')
-rw-r--r--tests/test_fuse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_fuse.py b/tests/test_fuse.py
index 69c512e9..48288e6a 100644
--- a/tests/test_fuse.py
+++ b/tests/test_fuse.py
@@ -4,7 +4,7 @@
import pytest
import os
-import util
+from tests import util
pytestmark = pytest.mark.skipif(
not util.have_fuse(), reason="bcachefs not built with fuse support.")