git.graph-it.com
/
graphit
/
controlpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d939407
)
Repair test case in baseplugin.py.
author
Benjamin Braatz
<bb@bbraatz.eu>
Sat, 20 Mar 2021 15:27:07 +0000
(16:27 +0100)
committer
Benjamin Braatz
<bb@bbraatz.eu>
Sat, 20 Mar 2021 15:27:07 +0000
(16:27 +0100)
controlpi/baseplugin.py
patch
|
blob
|
history
diff --git
a/controlpi/baseplugin.py
b/controlpi/baseplugin.py
index 4dbe0698f068e83c0155d682257234d36cf6215c..fa0322389f69983de73259817dac93836baaa508 100644
(file)
--- 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