code: def test_simple_select_attr(env_async, users):
      tmpl = env_async.from_string(
          '{{ users()|selectattr("is_active")|map(attribute="name")|join("|") }}'
      )
      assert tmpl.render(users=users) == "john|jane"
  
imports: from collections import namedtuple
  import pytest
  from jinja2 import Environment
  from jinja2.utils import Markup
label_desc: Use image node_id 17 for calling a global function with example usage: test_simple_select_attr(env_async, users) without return types