summaryrefslogtreecommitdiff
path: root/tests/test_basic.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_basic.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_basic.py')
-rw-r--r--tests/test_basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_basic.py b/tests/test_basic.py
index 6b3e4741..a2e95c59 100644
--- a/tests/test_basic.py
+++ b/tests/test_basic.py
@@ -3,7 +3,7 @@
# Basic bcachefs functionality tests.
import re
-import util
+from tests import util
def test_help():
ret = util.run_bch(valgrind=True)