code: def test_attribute_map(env_async, users):
      tmpl = env_async.from_string(
          '{{ users()|map(attribute="name")|join("|") }}'
      )
      assert tmpl.render(users=users) == "john|jane|mike"
  
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 21 for calling a global function with example usage: test_attribute_map(env_async, users) without return types