Fix tests

This commit is contained in:
Cyber MacGeddon 2025-09-26 00:30:48 +01:00
parent bb9e9a15c9
commit f30bc1f1c9

View file

@ -15,6 +15,7 @@ from trustgraph.schema import TextCompletionRequest, TextCompletionResponse
def mock_async_processor_init(self, **params): def mock_async_processor_init(self, **params):
"""Mock AsyncProcessor.__init__ that properly initializes required attributes""" """Mock AsyncProcessor.__init__ that properly initializes required attributes"""
self.config_handlers = [] self.config_handlers = []
self.id = params.get('id', 'test-service')
# Apply the mock globally for this test module # Apply the mock globally for this test module