mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-06-11 18:05:58 +00:00
Let setup wizard enable IM channels
This commit is contained in:
@@ -1986,10 +1986,12 @@ class TestChannelManager:
|
||||
|
||||
_run(go())
|
||||
|
||||
def test_same_topic_reuses_thread(self):
|
||||
def test_same_topic_reuses_thread(self, monkeypatch):
|
||||
"""Messages with the same topic_id should reuse the same DeerFlow thread."""
|
||||
from app.channels.manager import ChannelManager
|
||||
|
||||
monkeypatch.delenv("DEER_FLOW_AUTH_DISABLED", raising=False)
|
||||
|
||||
async def go():
|
||||
bus = MessageBus()
|
||||
store = ChannelStore(path=Path(tempfile.mkdtemp()) / "store.json")
|
||||
|
||||
Reference in New Issue
Block a user