Skip to content

Commit

Permalink
ovos-utils 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Dec 29, 2023
1 parent f10379b commit 8a8d145
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ovos_workshop/app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from os.path import isdir, join
from typing import Optional
from ovos_config.locations import get_xdg_config_save_path
from ovos_utils.messagebus import get_mycroft_bus
from ovos_bus_client.util import get_mycroft_bus
from ovos_utils.log import log_deprecation
from ovos_bus_client.apis.gui import GUIInterface
from ovos_bus_client.client.client import MessageBusClient
Expand Down
2 changes: 1 addition & 1 deletion ovos_workshop/intents.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List, Tuple, Optional

from ovos_utils.log import LOG, log_deprecation
from ovos_utils.messagebus import get_mycroft_bus
from ovos_bus_client.util import get_mycroft_bus
from ovos_bus_client.message import Message, dig_for_message

try:
Expand Down
4 changes: 2 additions & 2 deletions ovos_workshop/skills/ovos.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
from ovos_utils.gui import get_ui_directories
from ovos_utils.json_helper import merge_dict
from ovos_utils.log import LOG, log_deprecation, deprecated
from ovos_utils.messagebus import get_handler_name, create_wrapper, \
get_message_lang
from ovos_utils.events import get_handler_name, create_wrapper
from ovos_bus_client.util import get_message_lang
from ovos_utils.parse import match_one
from ovos_utils.process_utils import RuntimeRequirements
from ovos_utils.skills import get_non_properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ def test_ask_yesno_other(self):
response = skill.ask_yesno('Do you like breakfast')
self.assertEqual(response, 'I am a fish')

@mock.patch('ovos_workshop.skills.ovos.dig_for_message')
@skip("TODO - fix me")
@mock.patch('ovos_bus_client.message.dig_for_message')
def test_ask_yesno_german(self, dig_mock):
"""Check that when the skill is set to german it responds to "ja"."""
# lang is session based, it comes from originating message in ovos-core
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/test_abstract_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from os import remove
from unittest.mock import Mock, patch

from ovos_utils.gui import GUIInterface
from ovos_bus_client.apis.gui import GUIInterface
from ovos_utils.messagebus import FakeBus
from ovos_workshop.app import OVOSAbstractApplication
from json_database import JsonStorage
Expand Down

0 comments on commit 8a8d145

Please sign in to comment.