From: John Spray Date: Thu, 11 Oct 2018 09:23:52 +0000 (-0400) Subject: test: remove quirky argparse case X-Git-Tag: v14.1.0~969^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6c1e4b825ccc4bf90e20f1c0d3205c97197b5ada;p=ceph.git test: remove quirky argparse case This relied on a behaviour where positional arguments could be omitted if the subsequent argument was of a different type. This was pretty weird, and in any case the reweight-by-utilization command is likely to go away soon. Signed-off-by: John Spray --- diff --git a/src/test/pybind/test_ceph_argparse.py b/src/test/pybind/test_ceph_argparse.py index 660ce4656a32..ec4465b83dbe 100755 --- a/src/test/pybind/test_ceph_argparse.py +++ b/src/test/pybind/test_ceph_argparse.py @@ -1123,7 +1123,6 @@ class TestOSD(TestArgparse): self.assert_valid_command(['osd', 'reweight-by-utilization']) self.assert_valid_command(['osd', 'reweight-by-utilization', '100']) self.assert_valid_command(['osd', 'reweight-by-utilization', '100', '.1']) - self.assert_valid_command(['osd', 'reweight-by-utilization', '--no-increasing']) assert_equal({}, validate_command(sigdict, ['osd', 'reweight-by-utilization', '100',