From: Sebastian Wagner Date: Tue, 17 Sep 2019 08:53:26 +0000 (+0200) Subject: mgr/orchestrator: fix tests X-Git-Tag: v15.1.0~737^2~7 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=65a9c9aa6d6f43b482b86c91a37689586feb2802;p=ceph-ci.git mgr/orchestrator: fix tests Signed-off-by: Sebastian Wagner --- diff --git a/src/pybind/mgr/tests/test_orchestrator.py b/src/pybind/mgr/tests/test_orchestrator.py index fb4dd3e56c0..d24d1a3d96e 100644 --- a/src/pybind/mgr/tests/test_orchestrator.py +++ b/src/pybind/mgr/tests/test_orchestrator.py @@ -177,13 +177,13 @@ def test_progress(): completion=lambda: Completion( on_complete=lambda _: progress_val)) ) - mgr.remote.assert_called_with('progress', 'update', c.progress_reference.progress_id, 'hello world', 0.0, ['orchestrator']) + mgr.remote.assert_called_with('progress', 'update', c.progress_reference.progress_id, 'hello world', 0.0, [('origin', 'orchestrator')]) c.finalize() - mgr.remote.assert_called_with('progress', 'update', c.progress_reference.progress_id, 'hello world', 0.5, ['orchestrator']) + mgr.remote.assert_called_with('progress', 'update', c.progress_reference.progress_id, 'hello world', 0.5, [('origin', 'orchestrator')]) c.progress_reference.update() - mgr.remote.assert_called_with('progress', 'update', c.progress_reference.progress_id, 'hello world', progress_val, ['orchestrator']) + mgr.remote.assert_called_with('progress', 'update', c.progress_reference.progress_id, 'hello world', progress_val, [('origin', 'orchestrator')]) assert not c.progress_reference.effective progress_val = 1