From a0c7f54ec4954edda0b185887cb89313cdd7733f Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Fri, 17 Nov 2023 15:54:55 -0800 Subject: [PATCH] Define `FakeBus.emitter` to match `MessageBusClient` for test compat. --- neon_minerva/tests/skill_unit_test_base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neon_minerva/tests/skill_unit_test_base.py b/neon_minerva/tests/skill_unit_test_base.py index c20dd8d..0732b16 100644 --- a/neon_minerva/tests/skill_unit_test_base.py +++ b/neon_minerva/tests/skill_unit_test_base.py @@ -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'