diff --git a/tests/service/test_amq_message_handler.py b/tests/service/test_amq_message_handler.py index fb3097e..7d606a4 100644 --- a/tests/service/test_amq_message_handler.py +++ b/tests/service/test_amq_message_handler.py @@ -39,6 +39,7 @@ class TestDataMessageHandler(unittest.IsolatedAsyncioTestCase): self.rabbit_mq_client.connection = MagicMock() self.amq_configuration = MagicMock(spec=AMQConfiguration) + self.amq_configuration.dispatch = MagicMock() self.amq_configuration.dispatch.rabbit_mq_url = "amqp://guest:guest@localhost:5672/" self.amq_configuration.dispatch.download_dir = "/tmp/test_downloads"