Skip to content
This repository was archived by the owner on Sep 8, 2024. It is now read-only.
This repository was archived by the owner on Sep 8, 2024. It is now read-only.

Pre-VK Skill Test Runner not working #2893

@krisgesling

Description

@krisgesling

Describe the bug
I've just realised that the pre-Voight Kampff skill-test-runner seems to be borked. Possibly since the intent service refactor?

To Reproduce
Steps to reproduce the behavior:

  1. Fix the import in skill_tester.py (line 207) - should be
    from mycroft.skills.intent_services.padatious_service import PadatiousService
  2. Run: mycroft-skill-testrunner /path/to/some/skill
  3. See error:
ERROR: setUpClass (__main__.IntentTestSequence)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gez/mycroft-core/test/integrationtests/skills/runner.py", line 146, in setUpClass
    cls.loader = MockSkillsLoader(HOME_DIR)
  File "/home/gez/mycroft-core/test/integrationtests/skills/skill_tester.py", line 209, in __init__
    self.ps = PadatiousService(self.emitter, self.ih)
  File "/home/gez/mycroft-core/mycroft/skills/intent_services/padatious_service.py", line 34, in __init__
    intent_cache = expanduser(self.padatious_config['intent_cache'])
TypeError: 'IntentService' object is not subscriptable

I'm signing off for the night so haven't dug deeper - but thought I'd post this here in case anyone else wants to investigate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions