Merge pull request #53892 from rishabh-d-dave/fix-test_cephfs.py

src/test/pybind: don't use decorator "with_setup"

Reviewed-by: Venky Shankar <vshankar@redhat.com>
This commit is contained in:
Rishabh Dave 2023-10-09 19:17:07 +05:30 committed by GitHub
commit b3811c90ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -909,7 +909,6 @@ def test_snapdiff(testdir):
# remove directory
purge_dir(b"/snapdiff_test");
@with_setup(setup_test)
def test_single_target_command():
command = {'prefix': u'session ls', 'format': 'json'}
mds_spec = "a"
@ -920,7 +919,6 @@ def test_single_target_command():
# Standby MDSs will return -38
assert(ret == 0 or ret == -38)
@with_setup(setup_test)
def test_multi_target_command():
mds_get_command = {'prefix': 'status', 'format': 'json'}
inbuf = b''