]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/test/pybind: don't use decorator "with_setup" 53893/head
authorRishabh Dave <ridave@redhat.com>
Mon, 9 Oct 2023 11:28:16 +0000 (16:58 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 8 Nov 2023 17:26:22 +0000 (22:56 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit bda6d195af3890ddb4a74d881759b9273bb2cd1d)

Conflicts:
src/test/pybind/test_cephfs.py
- conflict was due to different lines surrounding the patch that
  is being backported

src/test/pybind/test_cephfs.py

index 42b57576b78261eeb2b10679209ea818881c0835..247ddca37fdb53514192f7feca7c3b7554b7780f 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''