Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
from ovos_workshop.decorators import intent_handler, skill_api_method, \
resting_screen_handler

from skill_date_time.api_data_models import DisplayCurrentTimeResponse, \
from neon_skill_date_time.api_data_models import DisplayCurrentTimeResponse, \
DisplayDateReponse, MonthDateResponse, TimeInLocationRequest, \
WeekdayResponse, YearResponse, CurrentTimeResponse, FormattedTimeResponse

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from os import getenv, path, walk

SKILL_NAME = "skill-date_time"
SKILL_PKG = SKILL_NAME.replace('-', '_')
SKILL_PKG = "neon_" + SKILL_NAME.replace('-', '_')
# skill_id=package_name:SkillClass
PLUGIN_ENTRY_POINT = f'{SKILL_NAME}.neongeckocom={SKILL_PKG}:TimeSkill'
BASE_PATH = path.abspath(path.dirname(__file__))
Expand Down
10 changes: 5 additions & 5 deletions test/test_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
from ovos_bus_client import Message
from neon_minerva.tests.skill_unit_test_base import SkillTestCase

from skill_date_time import TimeSkill
from skill_date_time.api_data_models import TimeInLocationRequest
from neon_skill_date_time import TimeSkill
from neon_skill_date_time.api_data_models import TimeInLocationRequest

environ['TEST_SKILL_ENTRYPOINT'] = 'skill-date_time.neongeckocom'

Expand Down Expand Up @@ -83,7 +83,7 @@ def clear():

self.skill.gui = real_gui

@patch('skill_date_time.dig_for_message')
@patch('neon_skill_date_time.dig_for_message')
@patch.object(TimeSkill, 'get_local_datetime')
def test_get_display_date(self, get_time, dig_for_message):
from neon_utils.user_utils import get_default_user_config
Expand Down Expand Up @@ -115,7 +115,7 @@ def test_get_display_date(self, get_time, dig_for_message):
date_str = self.skill.get_display_date()
self.assertEqual(date_str, "2000/1/2")

@patch('skill_date_time.dig_for_message')
@patch('neon_skill_date_time.dig_for_message')
def test_get_display_current_time(self, dig_for_message):
from neon_utils.user_utils import get_default_user_config
config = get_default_user_config()
Expand Down Expand Up @@ -196,7 +196,7 @@ def test_get_weekday(self, get_local_datetime):
get_local_datetime.return_value = known_day
self.assertEqual(self.skill.get_weekday(), "Saturday")

@patch('skill_date_time.dig_for_message')
@patch('neon_skill_date_time.dig_for_message')
@patch.object(TimeSkill, 'get_local_datetime')
def test_get_month_date(self, get_local_datetime, dig_for_message):
from neon_utils.user_utils import get_default_user_config
Expand Down
Loading