def test_non_default_collection(self):
        """Test adding a key-value pair to a non-default collection."""
        key = "key1"
        value = {"doc": "value1", "status": "active"}

        collection = "test_collection"
        self.kvstore.put(key, value, collection=collection)
        doc = self.kvstore.get(key, collection=collection)

        assert doc == value

        is_deleted = self.kvstore.delete(key, collection=collection)
        assert is_deleted
        doc = self.kvstore.get(key, collection=collection)
        assert doc is None
Test adding a key-value pair to a non-default collection.
llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-couchbase/tests/test_kvstore_couchbase.py