mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-23 20:21:03 +02:00
Fix tests
This commit is contained in:
parent
bb9e9a15c9
commit
f30bc1f1c9
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ from trustgraph.schema import TextCompletionRequest, TextCompletionResponse
|
|||
def mock_async_processor_init(self, **params):
|
||||
"""Mock AsyncProcessor.__init__ that properly initializes required attributes"""
|
||||
self.config_handlers = []
|
||||
self.id = params.get('id', 'test-service')
|
||||
|
||||
|
||||
# Apply the mock globally for this test module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue