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(
773
773
)
774
774
for msg in messages
775
775
)
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 } "
779
779
780
780
# Cleanup
781
781
await client .delete_long_term_memories ([m .id for m in test_memories ])
@@ -1079,9 +1079,9 @@ async def test_full_workflow_integration(
1079
1079
)
1080
1080
print (f"No topic filter search results: { no_topic_search } " )
1081
1081
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 } "
1085
1085
1086
1086
# 6. Test tool integration with a realistic scenario
1087
1087
tool_call = {
@@ -1126,9 +1126,9 @@ async def test_full_workflow_integration(
1126
1126
m for m in long_term_memories .memories if m .id .startswith (memory_id_prefix )
1127
1127
]
1128
1128
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 } "
1132
1132
1133
1133
1134
1134
@pytest .mark .integration
You can’t perform that action at this time.
0 commit comments