]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
src/test/pybind: don't use decorator "with_setup"
authorRishabh Dave <ridave@redhat.com>
Mon, 9 Oct 2023 11:28:16 +0000 (16:58 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 9 Oct 2023 11:28:16 +0000 (16:58 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/test/pybind/test_cephfs.py

index d751d38cbc18c14765a1e90efa68ba9c2eb78f06..3761056efdfde11ed79e9ffef4f7fe6d30024ee7 100644 (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''