]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-shell: fixing TestShellOpts in test_cephfs_shell.py
authorneeraj pratap singh <neerajpratapsingh@li-ff7f0d4c-3462-11b2-a85c-d4004c0fa1a0.ibm.com>
Fri, 23 Feb 2024 05:47:30 +0000 (11:17 +0530)
committerneeraj pratap singh <neerajpratapsingh@li-ff7f0d4c-3462-11b2-a85c-d4004c0fa1a0.ibm.com>
Wed, 28 Feb 2024 09:07:52 +0000 (14:37 +0530)
commit118ac67dffdd686592dabd956ff1d285638e053e
treeb69538eed12397e2bd24a87921bed7572005d855
parent49d060c71fc12b312d90d8e91e323693ccfb8b0f
cephfs-shell: fixing TestShellOpts in test_cephfs_shell.py

The issue arose due to the change in the output format of the
command `set editor`. Earlier the output format was like:
`editor: 'vim' ` which has been changed to:
```Name    Value                           Description
====================================================================================================
editor  vim                             Program used by 'edit' ```

Due to which fetching the list using indexes was `out of range`.

Introduced by: https://github.com/python-cmd2/cmd2/pull/1269/commits/fd38e706e33ff382a403e8b6956a9c1d24995ed0
Fixes: https://tracker.ceph.com/issues/63699
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
qa/tasks/cephfs/test_cephfs_shell.py