summaryrefslogtreecommitdiffstats
path: root/src/test/pybind
diff options
context:
space:
mode:
authorJohn Spray <john.spray@redhat.com>2018-10-11 11:23:52 +0200
committerJohn Spray <john.spray@redhat.com>2018-11-02 11:57:42 +0100
commit6c1e4b825ccc4bf90e20f1c0d3205c97197b5ada (patch)
tree7cae2edfc1e0041f506205ff79f13fce35b5f3c3 /src/test/pybind
parentmgr,mon: use CephChoices for confirmation flags (diff)
downloadceph-6c1e4b825ccc4bf90e20f1c0d3205c97197b5ada.tar.xz
ceph-6c1e4b825ccc4bf90e20f1c0d3205c97197b5ada.zip
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 <john.spray@redhat.com>
Diffstat (limited to 'src/test/pybind')
-rwxr-xr-xsrc/test/pybind/test_ceph_argparse.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/pybind/test_ceph_argparse.py b/src/test/pybind/test_ceph_argparse.py
index 660ce4656a3..ec4465b83db 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',