]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephadm: remove `get_parm` mock
authorMichael Fritch <mfritch@suse.com>
Thu, 15 Jul 2021 14:01:48 +0000 (08:01 -0600)
committerMichael Fritch <mfritch@suse.com>
Mon, 26 Jul 2021 16:29:39 +0000 (10:29 -0600)
fixture does not need to patch the `get_parm` func

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/tests/fixtures.py

index b8e82cc16356ae03d939323a1a7890d21cefb87a..971fe0f079adbae6274426c6f66ba7bf5dbf7ac8 100644 (file)
@@ -98,8 +98,7 @@ def with_cephadm_ctx(
     if not hostname:
         hostname = 'host1'
 
-    with mock.patch('cephadm.get_parm'), \
-         mock.patch('cephadm.attempt_bind'), \
+    with mock.patch('cephadm.attempt_bind'), \
          mock.patch('cephadm.call', return_value=('', '', 0)), \
          mock.patch('cephadm.call_timeout', return_value=0), \
          mock.patch('cephadm.find_executable', return_value='foo'), \