]> 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)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 30 Jun 2021 19:04:16 +0000 (12:04 -0700)
commit510c23bd8594585b78e35c89718dee3f7f1ded3d
tree72b32d37da3a27443fc8d169e510147e166b50a4
parent3b5cee21c54052ad422736517019c4489bee4c8f
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>
(cherry picked from commit 3d7516f8daefcefa06a46981a62442d9193164f6)
src/test/pybind/test_ceph_argparse.py