Skip to content

Commit

Permalink
Troubleshooting test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed May 31, 2024
1 parent 6ed0eed commit e815a7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/neon_skill_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ def is_valid(_):
test_results["validator"] = True
return False

on_fail = Mock()
on_fail = Mock(return_value="fail")

def skill_response_thread(s: MycroftSkill, idx: str):
resp = s.get_response(test_dialog, validator=is_valid,
Expand Down
4 changes: 2 additions & 2 deletions tests/skills/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def handle_chat_message(self, message: Message):


class TestKioskSkill(KioskSkill):
def __init__(self):
super(TestKioskSkill, self).__init__()
def __init__(self, *args, **kwargs):
KioskSkill.__init__(self, *args, **kwargs)
self._timeout_seconds = 60

@property
Expand Down

0 comments on commit e815a7f

Please sign in to comment.