def test_clear_cache(self, mock_create):
        """Test that the cache can be cleared."""
        ctx = create_mock_ctx()
        example_function.clear_cache(ctx, 1, 2)
        cache_key = _build_cache_key([1, 2])
        mock_create.return_value.delete.assert_called_once_with(cache_key)
Test that the cache can be cleared.
tests/unittests/execution_cache/decorator_tests.py