]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/cephfs: simplify some code in test_multifs_auth.py
authorRishabh Dave <ridave@redhat.com>
Fri, 24 Mar 2023 11:47:36 +0000 (17:17 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 5 Apr 2023 10:37:46 +0000 (16:07 +0530)
commit265abc79b300c0a5b5ccdad85ac68f52a76aa6dc
tree01b46a35648c26be5265fd8e711b97a96738ef37
parent76177ab1a9e0038b09cf99799da546bee6cd9ea6
qa/cephfs: simplify some code in test_multifs_auth.py

test_mutlifs_auth.TestMDSCaps._create_client() not only creates a client
but also generate caps strings for the client as per the parameter this
method receives and and then writes the keyring to all remote machines.
This creates confusion when reading code on test methods in TestMDSCaps.
Let's re-arrange this code such that this confusion is avoided.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/test_multifs_auth.py