mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-27 12:12:22 +08:00
Introduce pluggable backends.
This allows an operator to write a custom messaging backend to handle whatever transport and format.
This commit is contained in:
@@ -72,6 +72,8 @@ class TestConsumer(unittest.TestCase):
|
||||
hub = MagicMock(config={})
|
||||
consumer = MBSConsumer(hub)
|
||||
msg = {
|
||||
"topic": "org.fedoraproject.prod.buildsys.repo.done",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"username": "apache",
|
||||
"source_name": "datanommer",
|
||||
|
||||
Reference in New Issue
Block a user