Repair test case in baseplugin.py.
authorBenjamin Braatz <bb@bbraatz.eu>
Sat, 20 Mar 2021 15:27:07 +0000 (16:27 +0100)
committerBenjamin Braatz <bb@bbraatz.eu>
Sat, 20 Mar 2021 15:27:07 +0000 (16:27 +0100)
controlpi/baseplugin.py

index 4dbe0698f068e83c0155d682257234d36cf6215c..fa0322389f69983de73259817dac93836baaa508 100644 (file)
@@ -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