Skip to content

Commit

Permalink
Update to use shared CommonQuery test class (#69)
Browse files Browse the repository at this point in the history
* Update to use shared CommonQuery test class

* Validate backwards-compat. with action in .github repo

* Update minerva to released alpha spec

* Validate minerva input normalization fix

* Update to resolve test errors

* Update minerva test dependency to latest version

* Update test workflows to default branch

---------

Co-authored-by: Daniel McKnight <[email protected]>
  • Loading branch information
NeonDaniel and NeonDaniel authored Jan 15, 2024
1 parent 20ea9c4 commit 7eb41b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
from bs4 import BeautifulSoup
from time import sleep

from lingua_franca import load_language
from ovos_bus_client import Message
from ovos_utils import classproperty
from ovos_utils.log import LOG
Expand Down Expand Up @@ -82,6 +83,8 @@ def __init__(self, **kwargs):
self.from_caffeine_informer = list()
self._update_event = Event()
CommonQuerySkill.__init__(self, **kwargs)
from neon_utils.signal_utils import init_signal_bus
init_signal_bus(self.bus)

@classproperty
def runtime_requirements(self):
Expand Down Expand Up @@ -428,6 +431,7 @@ def _get_new_info(self, reply=False):

# Add Normalized drink names
def _normalize_drink_list(drink_list):
load_language(self.lang) # Necessary for intent tests
for drink in drink_list:
try:
parsed_name = normalize(drink[0].replace('-', ' '), 'en')
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neon-minerva[padatious]~=0.1,>=0.1.1a1
neon-minerva[padatious]~=0.1,>=0.1.1a5

0 comments on commit 7eb41b6

Please sign in to comment.