def test_delete_multiple_key_value_pairs(self):
        """Test deleting multiple key-value pairs from the store."""
        key1 = "key1"
        value1 = {"doc": "value1", "status": "active"}
        key2 = "key2"
        value2 = {"doc": "value2", "status": "inactive"}

        key_value_pairs = [
            (key1, value1),
            (key2, value2),
        ]

        self.kvstore.put_all(key_value_pairs, batch_size=2)

        docs = self.kvstore.get_all()
        assert len(docs) == 2

        is_deleted = self.kvstore.delete(key1)
        assert is_deleted

        doc1 = self.kvstore.get(key1)
        assert doc1 is None

        is_deleted = self.kvstore.delete(key2)
        assert is_deleted

        doc2 = self.kvstore.get(key2)
        assert doc2 is None
Test deleting multiple key-value pairs from the store.
llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-couchbase/tests/test_kvstore_couchbase.py