From aa4301ffcde282c9955ac34bdcbbcbd4118398fc Mon Sep 17 00:00:00 2001 From: Benjamin Braatz Date: Sat, 20 Mar 2021 16:27:07 +0100 Subject: [PATCH] Repair test case in baseplugin.py. --- controlpi/baseplugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controlpi/baseplugin.py b/controlpi/baseplugin.py index 4dbe069..fa03223 100644 --- a/controlpi/baseplugin.py +++ b/controlpi/baseplugin.py @@ -66,8 +66,8 @@ when using the system in production: ... bus_task.cancel() >>> asyncio.run(test_bus_plugin()) Bus Test received {'sender': 'Test', 'target': 'Bus Test', 'key': 'v'}. -Log: {'sender': 'Bus Test', 'event': 'Run'} Log: {'sender': 'Bus Test', 'event': 'Receive'} +Log: {'sender': 'Bus Test', 'event': 'Run'} Often, there will be a one-to-one correspondence between plugin instances and message bus clients, a plugin instance will be a message bus -- 2.34.1