File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
content-gen/src/tests/services Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -699,7 +699,7 @@ async def mock_query(*_args, **_kwargs):
699699
700700@pytest .mark .asyncio
701701async def test_get_user_conversations_no_title_fallback (mock_cosmos_service ):
702- """Test conversation title falls back to Untitled when no info available."""
702+ """Test conversation title falls back to New Conversation when no info available."""
703703 conversations = [
704704 {
705705 "id" : "conv-1" ,
@@ -720,7 +720,7 @@ async def mock_query(*_args, **_kwargs):
720720 await mock_cosmos_service .initialize ()
721721 result = await mock_cosmos_service .get_user_conversations ("user-123" , limit = 10 )
722722
723- assert result [0 ]["title" ] == "Untitled Conversation"
723+ assert result [0 ]["title" ] == "New Conversation"
724724
725725
726726@pytest .mark .asyncio
@@ -749,8 +749,8 @@ async def mock_query(*_args, **_kwargs):
749749 await mock_cosmos_service .initialize ()
750750 result = await mock_cosmos_service .get_user_conversations ("user-123" , limit = 10 )
751751
752- # Title should be from first user message, truncated to 50 chars
753- assert result [0 ]["title" ] == "Create a marketing campaign for summer "
752+ # Title should be from first user message, truncated to 4 words
753+ assert result [0 ]["title" ] == "Create a marketing campaign"
754754
755755
756756@pytest .mark .asyncio
You can’t perform that action at this time.
0 commit comments