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: v17.0.0~2717^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=dbd696466799bc47e0716a9dc0c5cf916e99213e;p=ceph.git pybind/mgr: Fix `run_tox.sh mgr -- cephadm` Failed with a cryptic error. Signed-off-by: Sebastian Wagner --- diff --git a/src/pybind/mgr/tests/__init__.py b/src/pybind/mgr/tests/__init__.py index 680302e6afa1a..79c2350ee54fc 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()