]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr: Fix `run_tox.sh mgr -- cephadm` 34374/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Thu, 2 Apr 2020 12:52:33 +0000 (14:52 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 2 Apr 2020 12:52:33 +0000 (14:52 +0200)
Failed with a cryptic error.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/tests/__init__.py

index 680302e6afa1af17cb3c4803dab923625df8492c..79c2350ee54fc835b753e1f54c2a1178d92da5c4 100644 (file)
@@ -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()