mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-21 07:55:18 +08:00
test: isolate Lark message converter mocks between cases
This commit is contained in:
@@ -154,6 +154,7 @@ def make_adapter(config: dict | None = None) -> LarkAdapter:
|
||||
},
|
||||
DummyLogger(),
|
||||
)
|
||||
adapter.message_converter = LarkMessageConverter()
|
||||
adapter.api_client = DummyAPIClient()
|
||||
adapter.bot = DummyWSClient()
|
||||
return adapter
|
||||
|
||||
Reference in New Issue
Block a user