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

reduce bus/log spam #37

Merged
merged 4 commits into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
damn tests
  • Loading branch information
JarbasAl committed Apr 12, 2024
commit 3b8c625e7305afbe58380d15ab8567bdcdf7ccc3
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
Loading