(registries)
return E.fixture(
        E.registry_list(*registry_elements),
        id='registry:list'
    )
<fixture id="registry:list">
       <registry_list>
           <registry slug="slug1" owner="owning_domain" active="true|false">
               <name></name>
               <description></description>
           </registry>
       </registry_list>
    </fixture>
<fixture id="registry:list">
       <registry_list>
           <registry slug="slug1" owner="owning_domain" active="true|false">
               <name></name>
               <description></description>
           </registry>
       </registry_list>
    </fixture>
<fixture id = registry : list > <registry_list > <registry slug = slug1 owner = owning_domain active = true|false > <name > < / name > <description > < / description > < / registry > < / registry_list > < / fixture >
def _get_registry_list_fixture(registries):
    """
    <fixture id="registry:list">
       <registry_list>
           <registry slug="slug1" owner="owning_domain" active="true|false">
               <name></name>
               <description></description>
           </registry>
       </registry_list>
    </fixture>
    """
    registry_elements = [
        _get_registry_element(registry) for registry in registries
    ]
    return E.fixture(
        E.registry_list(*registry_elements),
        id='registry:list'
    )
def _get_registry_list_fixture ( registries ) : registry_elements = [ _get_registry_element ( registry ) for registry in registries ] return E . fixture ( E . registry_list ( * registry_elements ) , id = 'registry:list' )