]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/pybind: do not test obsoleted command
authorKefu Chai <kchai@redhat.com>
Wed, 9 Jun 2021 03:11:40 +0000 (11:11 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 30 Jun 2021 19:04:16 +0000 (12:04 -0700)
"scrub" command was marked obsoleted in
e9a5ce0897efc6126caeebea9900bf05ec3d2174, so the test_ceph_argparse
cannot retrieve its command description using "get_command_descriptions"
cli tool anymore, let's drop the related test accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 77cb1fed0c30eec83ee0e4e0899dfdc1d4c5cc51)

src/test/pybind/test_ceph_argparse.py

index 529b9c209b417896c04f20a47f53ff24ac9416f2..8b8de5fea40bca6a49c967947d365a2fa68ad789 100755 (executable)
@@ -283,9 +283,6 @@ class TestMonitor(TestArgparse):
     def test_compact(self):
         self.assert_valid_command(['compact'])
 
-    def test_scrub(self):
-        self.assert_valid_command(['scrub'])
-
     def test_fsid(self):
         self.assert_valid_command(['fsid'])