mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Implement Export feature for V1 conversations with comprehensive unit tests (#12030)
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: hieptl <hieptl.developer@gmail.com>
This commit is contained in:
@@ -2183,6 +2183,7 @@ async def test_delete_v1_conversation_with_sub_conversations():
|
||||
app_conversation_info_service=mock_info_service,
|
||||
app_conversation_start_task_service=mock_start_task_service,
|
||||
event_callback_service=MagicMock(),
|
||||
event_service=MagicMock(),
|
||||
sandbox_service=mock_sandbox_service,
|
||||
sandbox_spec_service=MagicMock(),
|
||||
jwt_service=MagicMock(),
|
||||
@@ -2305,6 +2306,7 @@ async def test_delete_v1_conversation_with_no_sub_conversations():
|
||||
app_conversation_info_service=mock_info_service,
|
||||
app_conversation_start_task_service=mock_start_task_service,
|
||||
event_callback_service=MagicMock(),
|
||||
event_service=MagicMock(),
|
||||
sandbox_service=mock_sandbox_service,
|
||||
sandbox_spec_service=MagicMock(),
|
||||
jwt_service=MagicMock(),
|
||||
@@ -2457,6 +2459,7 @@ async def test_delete_v1_conversation_sub_conversation_deletion_error():
|
||||
app_conversation_info_service=mock_info_service,
|
||||
app_conversation_start_task_service=mock_start_task_service,
|
||||
event_callback_service=MagicMock(),
|
||||
event_service=MagicMock(),
|
||||
sandbox_service=mock_sandbox_service,
|
||||
sandbox_spec_service=MagicMock(),
|
||||
jwt_service=MagicMock(),
|
||||
|
||||
Reference in New Issue
Block a user