File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
agent-memory-client/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 77
88import asyncio
99from collections .abc import AsyncGenerator
10- from unittest .mock import AsyncMock , patch
10+ from unittest .mock import AsyncMock , Mock , patch
1111
1212import httpx
1313import pytest
@@ -310,7 +310,7 @@ class TestRecencyConfig:
310310 async def test_recency_config_descriptive_parameters (self , enhanced_test_client ):
311311 """Test that RecencyConfig descriptive parameters are properly sent to API."""
312312 with patch .object (enhanced_test_client ._client , "post" ) as mock_post :
313- mock_response = AsyncMock ()
313+ mock_response = Mock ()
314314 mock_response .raise_for_status .return_value = None
315315 mock_response .json .return_value = MemoryRecordResults (
316316 total = 0 , memories = [], next_offset = None
You can’t perform that action at this time.
0 commit comments