personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert cortex default-path test to original assertion

The feature branch changed this test to expect None, but a live
callosum server at the platform default path causes the request to
succeed. Restore the original assertion that expects a queued agent_id.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+4 -2
+4 -2
tests/test_cortex_client.py
··· 165 165 _ = callosum_server # Needed for side effects only 166 166 old_path = os.environ.pop("JOURNAL_PATH", None) 167 167 try: 168 - # Uses platform default path, which won't match the test server socket. 168 + # Should work (uses platform default) but no listener will respond 169 169 agent_id = cortex_request("test", "default", "openai") 170 - assert agent_id is None 170 + # Returns an agent_id since the request is queued 171 + assert agent_id is not None 172 + assert len(agent_id) > 0 171 173 finally: 172 174 if old_path: 173 175 os.environ["JOURNAL_PATH"] = old_path