Skip to content

Commit

Permalink
Define FakeBus.emitter to match MessageBusClient for test compat. (
Browse files Browse the repository at this point in the history
…#9)

Co-authored-by: Daniel McKnight <[email protected]>
  • Loading branch information
NeonDaniel and NeonDaniel authored Nov 18, 2023
1 parent 8732b36 commit 92525b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions neon_minerva/tests/skill_unit_test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class SkillTestCase(unittest.TestCase):

# Define static parameters
bus = FakeBus()
# Patching FakeBus compat. with MessageBusClient
bus.emitter = bus.ee

bus.run_forever()
test_skill_id = 'test_skill.test'

Expand Down

0 comments on commit 92525b0

Please sign in to comment.