fix: resolve Redis mock import error in test configuration
- Add API directory to Python path before importing extensions - Replace string-based patch with patch.object for more reliable mocking - Fix "AttributeError: module 'extensions' has no attribute 'ext_redis'" error This ensures the test environment correctly imports and mocks the Redis client, preventing module resolution issues when running tests.pull/22663/head
parent
bdb9f29948
commit
e56a0b3d29
Loading…
Reference in New Issue