ceph/qa/workunits/rados/test_python.sh
Casey Bodley 0d0128f50e test/pybind/rados: convert from nose to pytest
* replace nose.Skiptest with pytest.skip()
* replace nose attrs with @pytest.mark
* replace nose assertions
* replace setUp/tearDown with setup/teardown_method

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

6 lines
137 B
Bash
Executable File

#!/bin/sh -ex
ceph osd pool create rbd
${PYTHON:-python3} -m pytest -v $(dirname $0)/../../../src/test/pybind/test_rados.py "$@"
exit 0