File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -773,9 +773,9 @@ async def test_memory_prompt_with_long_term_search(
773773 )
774774 for msg in messages
775775 )
776- assert relevant_context_found , (
777- f"No relevant memory context found in messages: { messages } "
778- )
776+ assert (
777+ relevant_context_found
778+ ), f"No relevant memory context found in messages: { messages } "
779779
780780 # Cleanup
781781 await client .delete_long_term_memories ([m .id for m in test_memories ])
@@ -1079,9 +1079,9 @@ async def test_full_workflow_integration(
10791079 )
10801080 print (f"No topic filter search results: { no_topic_search } " )
10811081
1082- assert len ( search_results [ "memories" ]) > 0 , (
1083- f"No memories found in search results: { search_results } "
1084- )
1082+ assert (
1083+ len ( search_results [ " memories" ]) > 0
1084+ ), f"No memories found in search results: { search_results } "
10851085
10861086 # 6. Test tool integration with a realistic scenario
10871087 tool_call = {
@@ -1126,9 +1126,9 @@ async def test_full_workflow_integration(
11261126 m for m in long_term_memories .memories if m .id .startswith (memory_id_prefix )
11271127 ]
11281128
1129- assert len ( our_memories ) == 0 , (
1130- f"Expected 0 of our memories but found { len (our_memories )} : { our_memories } "
1131- )
1129+ assert (
1130+ len (our_memories ) == 0
1131+ ), f"Expected 0 of our memories but found { len ( our_memories ) } : { our_memories } "
11321132
11331133
11341134@pytest .mark .integration
You can’t perform that action at this time.
0 commit comments