Skip to content

Commit

Permalink
Silence warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubek committed Feb 21, 2024
1 parent 4a187fc commit ce08b9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/scripts/test_actor_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ce08b9c

Please sign in to comment.