Skip to content

Commit

Permalink
damn tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Apr 12, 2024
1 parent 231eb87 commit 3b8c625
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 38 deletions.
30 changes: 0 additions & 30 deletions test/unittests/osm_tests.py

This file was deleted.

9 changes: 1 addition & 8 deletions test/unittests/test_skill_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from mycroft.skills.skill_loader import PluginSkillLoader, SkillLoader
from ovos_plugin_manager.skills import find_skill_plugins
from ovos_utils.messagebus import FakeBus
from skill_ovos_date_time import TimeSkill, create_skill
from skill_ovos_date_time import TimeSkill


class TestSkillLoading(unittest.TestCase):
Expand All @@ -20,13 +20,6 @@ def test_from_class(self):
self.assertEqual(skill.bus, bus)
self.assertEqual(skill.skill_id, self.skill_id)

def test_from_func(self):
bus = FakeBus()
skill = create_skill()
skill._startup(bus, self.skill_id)
self.assertEqual(skill.bus, bus)
self.assertEqual(skill.skill_id, self.skill_id)

def test_from_plugin(self):
bus = FakeBus()
for skill_id, plug in find_skill_plugins().items():
Expand Down

0 comments on commit 3b8c625

Please sign in to comment.