mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 18:15:02 +00:00
fix: cosmetic nit
This commit is contained in:
1 parent
fbd37e627c
commit
82426e3860
1 file changed
+2
-2
@@ -345,7 +345,7 @@ class TestCompleteStreamMethod:
|
||||
with flask_app.app_context(), patch.object(
|
||||
base_mod, "publish_user_event"
|
||||
) as published, patch.object(
|
||||
base_mod, "ContinuationService", lambda: MagicMock()
|
||||
base_mod, "ContinuationService", MagicMock
|
||||
):
|
||||
self._run_paused(
|
||||
base_mod.BaseAnswerResource(),
|
||||
@@ -371,7 +371,7 @@ class TestCompleteStreamMethod:
|
||||
with flask_app.app_context(), patch.object(
|
||||
base_mod, "publish_user_event"
|
||||
) as published, patch.object(
|
||||
base_mod, "ContinuationService", lambda: MagicMock()
|
||||
base_mod, "ContinuationService", MagicMock
|
||||
):
|
||||
self._run_paused(
|
||||
base_mod.BaseAnswerResource(),
|
||||
|
||||
Reference in new issue
Block a user