From 3c2f28a253c47a0979b4052842b636a74b2afb69 Mon Sep 17 00:00:00 2001 From: John Spray Date: Mon, 29 Feb 2016 12:11:34 +0000 Subject: [PATCH] test: update argparse test for rmfailed rmfailed argument used to be an integer greater than zero, now any string is acceptable (because we accept fs:rank role strings here) Signed-off-by: John Spray --- src/test/pybind/test_ceph_argparse.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/test/pybind/test_ceph_argparse.py b/src/test/pybind/test_ceph_argparse.py index a652d8742d416..8aa0c487a6847 100755 --- a/src/test/pybind/test_ceph_argparse.py +++ b/src/test/pybind/test_ceph_argparse.py @@ -415,10 +415,6 @@ class TestMDS(TestArgparse): def test_rmfailed(self): self.assert_valid_command(['mds', 'rmfailed', '0']) self.assert_valid_command(['mds', 'rmfailed', '0', '--yes-i-really-mean-it']) - assert_equal({}, validate_command(sigdict, ['mds', 'rmfailed', - '--yes-i-really-mean-it'])) - assert_equal({}, validate_command(sigdict, ['mds', 'rmfailed', '-1', - '--yes-i-really-mean-it'])) assert_equal({}, validate_command(sigdict, ['mds', 'rmfailed', '0', '--yes-i-really-mean-it', 'toomany'])) -- 2.39.5