From: Benjamin Braatz Date: Sat, 20 Mar 2021 15:27:07 +0000 (+0100) Subject: Repair test case in baseplugin.py. X-Git-Tag: v0.3.0~54 X-Git-Url: http://git.graph-it.com/?a=commitdiff_plain;h=aa4301ffcde282c9955ac34bdcbbcbd4118398fc;p=graphit%2Fcontrolpi.git Repair test case in baseplugin.py. --- 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