llama-stack-mirror/llama_stack/providers/tests/memory
Vishwanath Martur 45c6453a8b Add Redis KVStore integration test
Related to #506

Add integration tests for Redis KVStore to ensure functional parity with other KVStores.

* **`llama_stack/distribution/store/tests/test_registry.py`**:
  - Add fixture for `RedisKVStoreConfig`.
  - Add tests for `RedisKVStoreConfig` covering initialization, connection, CRUD operations, namespaced keys, expiration handling, error handling, and concurrency.
  - Add tests for `redis_registry` and `cached_redis_registry` to verify registration, retrieval, and updates of memory banks and models.

* **`llama_stack/providers/tests/memory/test_memory.py`**:
  - Add fixture for `RedisKVStoreConfig`.
  - Add tests for `redis_kvstore` covering initialization, CRUD operations, namespaced keys, expiration handling, error handling, and concurrency.
2024-12-14 15:15:38 +05:30
..
fixtures [#342] RAG - fix PDF format in vector database (#551) 2024-12-10 21:33:27 -08:00
__init__.py Remove "routing_table" and "routing_key" concepts for the user (#201) 2024-10-10 10:24:13 -07:00
conftest.py Make embedding generation go through inference (#606) 2024-12-12 11:47:50 -08:00
fixtures.py add embedding model by default to distribution templates (#617) 2024-12-13 12:48:00 -08:00
test_memory.py Add Redis KVStore integration test 2024-12-14 15:15:38 +05:30
test_vector_store.py [#342] RAG - fix PDF format in vector database (#551) 2024-12-10 21:33:27 -08:00