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

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit dbd696466799bc47e0716a9dc0c5cf916e99213e)

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()