(current_domain, registry)
return E.fixture(
        E.domains(*domains),
        id=f'registry:domains:{registry.slug}'
    )
<fixture id="registry:domains:slug1">
       <domains>
           <domain name="domain1">My Domain</domain>
           <domain name="domain2">domain2</domain>
       </domains>
    </fixture>
<fixture id="registry:domains:slug1">
       <domains>
           <domain name="domain1">My Domain</domain>
           <domain name="domain2">domain2</domain>
       </domains>
    </fixture>
<fixture id = registry : domains : slug1 > <domains > <domain name = domain1 > My Domain< / domain > <domain name = domain2 > domain2< / domain > < / domains > < / fixture >
def _get_registry_domains_fixture(current_domain, registry):
    """
    <fixture id="registry:domains:slug1">
       <domains>
           <domain name="domain1">My Domain</domain>
           <domain name="domain2">domain2</domain>
       </domains>
    </fixture>
    """
    domains = _get_registry_domains(current_domain, registry)
    return E.fixture(
        E.domains(*domains),
        id=f'registry:domains:{registry.slug}'
    )
def _get_registry_domains_fixture ( current_domain , registry ) : domains = _get_registry_domains ( current_domain , registry ) return E . fixture ( E . domains ( * domains ) , id = f'registry:domains:{registry.slug}' )