diff options
author | Brett Holman <bholman.devel@gmail.com> | 2021-10-11 15:23:09 -0600 |
---|---|---|
committer | Brett Holman <bholman.devel@gmail.com> | 2021-10-11 20:24:12 -0600 |
commit | 60a6b2882ebdfca8930b6c7f130f12feb1938520 (patch) | |
tree | 01817473de4d05149a161d564cbf5f47b2a0c6f9 /tests/test_fuse.py | |
parent | ba1dbafc1fce6d37c3703e9788bbf5a72f8e55a3 (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.py | 2 |
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.") |