ceph/qa/workunits/fs/test_python.sh
Casey Bodley 0bd813f069 test/pybind/cephfs: convert from nose to pytest
* use a fixture for setup_test()
* invoke test_cephfs.py with pytest

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-07-06 11:02:35 -04:00

7 lines
216 B
Bash
Executable File

#!/bin/sh -ex
# Running as root because the filesystem root directory will be
# owned by uid 0, and that's where we're writing.
sudo python3 -m pytest -v $(dirname $0)/../../../src/test/pybind/test_cephfs.py
exit 0