diff --git a/tests/scripts/test_actor_api.py b/tests/scripts/test_actor_api.py index 9fd5bb48b..2e626dabf 100644 --- a/tests/scripts/test_actor_api.py +++ b/tests/scripts/test_actor_api.py @@ -189,7 +189,9 @@ def mocked_input(title): return user_responses[title.split()[0].split(':')[0].lower()][0] def mocked_store_dialog(dialog, answer): - pass + # Silence warnings + dialog = answer + answer = dialog monkeypatch.setattr('leapp.dialogs.renderer.input', mocked_input) monkeypatch.setattr('leapp.actors.store_dialog', mocked_store_dialog)