Skip to content

Commit 61b5123

Browse files
committed
Always use testcontainers redis in tests
1 parent 015ee2a commit 61b5123

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ def patched_docket_init(self, name, url=None, *args, **kwargs):
317317
"agent_memory_server.long_term_memory.get_redis_conn", mock_get_redis_conn
318318
),
319319
patch("agent_memory_server.extraction.get_redis_conn", mock_get_redis_conn),
320+
patch.object(settings, "redis_url", redis_url),
320321
):
321322
# Reset global state to force recreation with test Redis
322323
agent_memory_server.utils.redis._redis_pool = None

0 commit comments

Comments
 (0)