From: Sebastian Wagner Date: Thu, 2 Apr 2020 12:52:33 +0000 (+0200) Subject: pybind/mgr: Fix `run_tox.sh mgr -- cephadm` X-Git-Tag: v15.2.2~80^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=adeb063155476ff6ad8ba11a77a3509ae8623154;p=ceph.git pybind/mgr: Fix `run_tox.sh mgr -- cephadm` Failed with a cryptic error. Signed-off-by: Sebastian Wagner (cherry picked from commit dbd696466799bc47e0716a9dc0c5cf916e99213e) --- diff --git a/src/pybind/mgr/tests/__init__.py b/src/pybind/mgr/tests/__init__.py index 680302e6afa1..79c2350ee54f 100644 --- a/src/pybind/mgr/tests/__init__.py +++ b/src/pybind/mgr/tests/__init__.py @@ -36,4 +36,3 @@ if 'UNITTEST' in os.environ: cm.BaseMgrModule = M cm.BaseMgrStandbyModule = M sys.modules['ceph_module'] = cm - sys.modules['rados'] = mock.Mock()