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
  • Loading branch information
NeonDaniel committed Nov 17, 2023
1 parent 8732b36 commit a0c7f54
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 a0c7f54

Please sign in to comment.