code: def test_sum_attributes(env_async, items):
      tmpl = env_async.from_string("""{{ items()|sum('value') }}""")
      assert tmpl.render(items=items)
  
imports: from collections import namedtuple
  import pytest
  from markupsafe import Markup
  from jinja2 import Environment
  from jinja2.async_utils import auto_aiter
label_desc: Use image node_id 24 for calling a global function with example usage: test_sum_attributes(env_async, items) without return types