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 @@ -772,9 +772,9 @@ async def test_memory_prompt_with_long_term_search(
772
772
)
773
773
for msg in messages
774
774
)
775
- assert relevant_context_found , (
776
- f"No relevant memory context found in messages: { messages } "
777
- )
775
+ assert (
776
+ relevant_context_found
777
+ ), f"No relevant memory context found in messages: { messages } "
778
778
779
779
# Cleanup
780
780
await client .delete_long_term_memories ([m .id for m in test_memories ])
@@ -1078,9 +1078,9 @@ async def test_full_workflow_integration(
1078
1078
)
1079
1079
print (f"No topic filter search results: { no_topic_search } " )
1080
1080
1081
- assert len ( search_results [ "memories" ]) > 0 , (
1082
- f"No memories found in search results: { search_results } "
1083
- )
1081
+ assert (
1082
+ len ( search_results [ " memories" ]) > 0
1083
+ ), f"No memories found in search results: { search_results } "
1084
1084
1085
1085
# 6. Test tool integration with a realistic scenario
1086
1086
tool_call = {
@@ -1125,9 +1125,9 @@ async def test_full_workflow_integration(
1125
1125
m for m in long_term_memories .memories if m .id .startswith (memory_id_prefix )
1126
1126
]
1127
1127
1128
- assert len ( our_memories ) == 0 , (
1129
- f"Expected 0 of our memories but found { len (our_memories )} : { our_memories } "
1130
- )
1128
+ assert (
1129
+ len (our_memories ) == 0
1130
+ ), f"Expected 0 of our memories but found { len ( our_memories ) } : { our_memories } "
1131
1131
1132
1132
1133
1133
@pytest .mark .integration
You can’t perform that action at this time.
0 commit comments