diff --git a/brewtils/rest/publish_client.py b/brewtils/rest/publish_client.py index e5552033..e00424cd 100644 --- a/brewtils/rest/publish_client.py +++ b/brewtils/rest/publish_client.py @@ -6,7 +6,7 @@ from brewtils.rest.easy_client import EasyClient -class PublishClient(Object): +class PublishClient(object): """High-level client for publishing requests on Beer-garden topics. **Topics are internal routing values for Beer Garden. These are not RabbitMQ/Pika topics.** diff --git a/brewtils/test/fixtures.py b/brewtils/test/fixtures.py index 8ae1566b..543ba367 100644 --- a/brewtils/test/fixtures.py +++ b/brewtils/test/fixtures.py @@ -121,6 +121,7 @@ def nested_parameter_dict(): "regex": None, "form_input_type": None, "type_info": {}, + } @@ -170,6 +171,7 @@ def command_dict(parameter_dict, system_id): "template": "", "icon_name": "icon!", "metadata": {"meta": "data"}, + "topics": [], } @@ -287,6 +289,7 @@ def child_request_dict(ts_epoch): "namespace": "ns", "command": "say", "id": "58542eb571afd47ead90d25f", + "is_event": False, "parameters": {}, "comment": "bye!", "output": "nested output", @@ -324,6 +327,7 @@ def parent_request_dict(ts_epoch): "namespace": "ns", "command": "say", "id": "58542eb571afd47ead90d25d", + "is_event": False, "parent": None, "parameters": {}, "comment": "bye!", @@ -385,6 +389,7 @@ def request_dict(parent_request_dict, child_request_dict, ts_epoch): "namespace": "ns", "command": "speak", "id": "58542eb571afd47ead90d25e", + "is_event": False, "parent": parent_request_dict, "children": [child_request_dict], "parameters": {"message": "hey!"}, diff --git a/test/decorators_test.py b/test/decorators_test.py index 0f7936d5..a299c6c8 100644 --- a/test/decorators_test.py +++ b/test/decorators_test.py @@ -536,6 +536,7 @@ def test_basic(self, command_dict, bg_command): bg_command.parameters = [] del command_dict["name"] del command_dict["parameters"] + del command_dict["topics"] @command(**command_dict) def foo():