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 to use shared CommonQuery test class #69

Merged
merged 7 commits into from
Jan 15, 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
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
Loading