]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/pybind: s/nosetests/python3/
authorKefu Chai <kchai@redhat.com>
Thu, 19 Dec 2019 03:36:59 +0000 (11:36 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 1 Apr 2021 03:25:32 +0000 (11:25 +0800)
commitf01c95f29c0214171040a435cab853b898c60c9c
treee093e096a2a744f0f1f902096a12e9a7710a7b72
parentd2d7f1aa5867a040a834439d489db856d712f917
test/pybind: s/nosetests/python3/

different distros package python3-nose in different ways by adding
different postfix to "/usr/bin/nosetests" to differentiate it from
its python2 counterpart.

* on bionic, python3-nose offers "nosetests3"
* on el8, python3-nose offers "nosetests-3" and "nosetests-3.6"

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 717aaad9edb295d15998f37a5d92d11bc8345b33)
src/test/pybind/test_ceph_argparse.py
src/test/pybind/test_ceph_daemon.py