Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update skill-tester for 19.08 and add basic support for wait_for_response #2284

Merged
merged 4 commits into from Sep 2, 2019

Conversation

forslund
Copy link
Collaborator

@forslund forslund commented Sep 1, 2019

Description

  • Allow skill tester to handle wait_for_response in the most basic way
  • Fix moved references (LOG)
  • Basic refactoring making some of the bigger methods less complex.

How to test

Check that current skill tester works:
https://jenkins.mycroft.team/job/19.08-skill-tester/8/console
(failure here is valid due to current state of the weather skill)

Contributor license agreement signed?

CLA [ Yes ]

@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Sep 1, 2019
Copy link
Contributor

@krisgesling krisgesling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice refactoring, I personally find it much easier to read

test/integrationtests/skills/skill_tester.py Outdated Show resolved Hide resolved
test/integrationtests/skills/skill_tester.py Show resolved Hide resolved
Split the long function into several smaller ones just retaining the
main logic.
Creates rules.py containing logic for the small rule snippets for each
entry in the json
@krisgesling krisgesling merged commit 4385406 into dev Sep 2, 2019
@forslund forslund deleted the test/wait_for_response branch September 12, 2019 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants