]> git.sesse.net Git - bcachefs-tools-debian/commit
Clean up smoketest and pytests.
authorBrett Holman <bholman.devel@gmail.com>
Mon, 11 Oct 2021 21:23:09 +0000 (15:23 -0600)
committerBrett Holman <bholman.devel@gmail.com>
Tue, 12 Oct 2021 02:24:12 +0000 (20:24 -0600)
commit60a6b2882ebdfca8930b6c7f130f12feb1938520
tree01817473de4d05149a161d564cbf5f47b2a0c6f9
parentba1dbafc1fce6d37c3703e9788bbf5a72f8e55a3
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>
.travis.yml
Makefile
smoke_test
tests/__init__.py [new file with mode: 0644]
tests/conftest.py
tests/test_basic.py
tests/test_fixture.py
tests/test_fuse.py
tests/util.py