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

Make skill references compatible with ovos-workshop changes #15

Merged
merged 2 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions neon_minerva/tests/test_skill_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,17 @@ def _on_message(cls, message):

def test_skill_setup(self):
self.assertEqual(self.skill.skill_id, self.test_skill_id)
self.assertEqual(set([self.skill._core_lang] +
self.skill._secondary_langs),
set(self.supported_languages),
f"expected={self.supported_languages}")
if hasattr(self.skill, "_core_lang"):
# ovos-workshop < 0.0.15
self.assertEqual(set([self.skill._core_lang] +
self.skill._secondary_langs),
set(self.supported_languages),
f"expected={self.supported_languages}")
else:
self.assertEqual(set([self.skill.core_lang] +
self.skill.secondary_langs),
set(self.supported_languages),
f"expected={self.supported_languages}")

def test_intent_registration(self):
registered_adapt = list()
Expand Down
2 changes: 1 addition & 1 deletion neon_minerva/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

__version__ = "0.1.0"
__version__ = "0.1.1a1"
Loading