]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/pybind/test_ceph_argparse: decorate helper method with @nottest
authorKefu Chai <kchai@redhat.com>
Wed, 9 Jun 2021 03:24:37 +0000 (11:24 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 14 Jun 2021 01:50:47 +0000 (09:50 +0800)
commit3d7516f8daefcefa06a46981a62442d9193164f6
treeb17704cdc17113acab34ff41bd68a5131d7daeb4
parent77cb1fed0c30eec83ee0e4e0899dfdc1d4c5cc51
test/pybind/test_ceph_argparse: decorate helper method with @nottest

otherwise nose tries to run it as a test as its name contains "test", like

E.
======================================================================
ERROR: Runs validate in different arg/kargs ways.
----------------------------------------------------------------------
TypeError: arg_kwarg_test() missing 3 required positional arguments: 'prefix', 'args', and 'sig'

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/pybind/test_ceph_argparse.py