From 65a9c9aa6d6f43b482b86c91a37689586feb2802 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 17 Sep 2019 10:53:26 +0200 Subject: [PATCH] mgr/orchestrator: fix tests Signed-off-by: Sebastian Wagner --- src/pybind/mgr/tests/test_orchestrator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5