diff --git a/test/test_skill.py b/test/test_skill.py index 45820ac..c442894 100644 --- a/test/test_skill.py +++ b/test/test_skill.py @@ -102,7 +102,7 @@ def get_response(*args, **kwargs): # Shutdown confirmed message = Message("valid_intent", {"shutdown": "shut down"}) - def get_response(*args): + def get_response(*args, **kwargs): self.assertEqual(args[0], "ask_exit_shutdown") dialog = args[0] dialog_data = args[1] @@ -130,7 +130,7 @@ def get_response(*args): # Restart Confirmed message = Message("valid_intent", {"restart": "reboot"}) - def get_response(*args): + def get_response(*args, **kwargs): self.assertEqual(args[0], "ask_exit_shutdown") dialog = args[0] dialog_data = args[1] @@ -159,7 +159,7 @@ def get_response(*args): self.skill._do_exit_shutdown.reset_mock() message = Message("valid_intent", {"exit": "exit"}) - def get_response(*args): + def get_response(*args, **kwargs): self.assertEqual(args[0], "ask_exit_shutdown") dialog = args[0] dialog_data = args[1] @@ -186,7 +186,7 @@ def get_response(*args): # Exit no response message = Message("valid_intent", {"exit": "exit"}) - def get_response(*args): + def get_response(*args, **kwargs): self.assertEqual(args[0], "ask_exit_shutdown") dialog = args[0] dialog_data = args[1]