aboutsummaryrefslogtreecommitdiffstats
path: root/test/conftest.py
AgeCommit message (Collapse)AuthorLines
2025-06-12tests: Add an exception for output "error"Bernd Schubert-2/+5
The sigterm test triggers debug output like dev unique: 6, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 1808 unique: 6, success, outsize: 96 dev unique: 8, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 1808 exit_handler called with sig 15 fuse: session exited, terminating workers unique: 8, error: -2 (No such file or directory), outsize: 16 Which then triggers test failures, because the test was acting on the word 'error'. Signed-off-by: Bernd Schubert <bschubert@ddn.com>
2023-04-07Fix deprecated @pytest.mark.hookwrapperMatthias Goergens-1/+1
``` PytestDeprecationWarning: The hookimpl pytest_pyfunc_call uses old-style configuration options (marks or attributes). Please use the pytest.hookimpl(hookwrapper=True) decorator instead to configure the hooks. See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers @pytest.mark.hookwrapper ```
2020-06-22Typo fixed. (#520)Seunghoon Yeon-1/+1
2019-07-04Fix output checking in test casesNikolaus Rath-69/+77
py.test's capture plugin does not work reliably when used by other fixtures. Therefore, implement our own version.
2016-10-02Run tests under valgrind when available.Nikolaus Rath-3/+7
Fixes #50.
2016-05-13Add 'traceback' as suspicious test output pattern.Nikolaus Rath-1/+1
2016-03-29Added basic unit tests.Nikolaus Rath-0/+85
Fixes issue #33.