diff --git a/test/unittests/skills/test_active.py b/test/unittests/skills/test_active.py index 0dc1b1e3..9811a0f3 100644 --- a/test/unittests/skills/test_active.py +++ b/test/unittests/skills/test_active.py @@ -11,7 +11,7 @@ class ActiveSkillExample(ActiveSkill): def make_active(self): self.active() - ActiveSkill.make_active(self) + ActiveSkill.activate(self) class TestActiveSkill(unittest.TestCase): diff --git a/test/unittests/test_skill_launcher.py b/test/unittests/test_skill_launcher.py index e69280e9..0df49bc2 100644 --- a/test/unittests/test_skill_launcher.py +++ b/test/unittests/test_skill_launcher.py @@ -67,14 +67,14 @@ def test_load_skill_module(self): def test_get_skill_class(self): from ovos_workshop.skill_launcher import get_skill_class, \ load_skill_module - from ovos_workshop.skills.mycroft_skill import _SkillMetaclass + from ovos_workshop.skills.ovos import _OVOSSkillMetaclass test_path = join(dirname(__file__), "ovos_tskill_abort", "__init__.py") skill_id = "test_skill.test" module = load_skill_module(test_path, skill_id) skill = get_skill_class(module) self.assertIsNotNone(skill) - self.assertEqual(skill.__class__, _SkillMetaclass, skill.__class__) + self.assertEqual(skill.__class__, _OVOSSkillMetaclass, skill.__class__) # Test invalid request with self.assertRaises(ValueError):