Extract entrypoint test text construction into variable
Extract entrypoint test text construction into variable

We need this to construct the new argument to `get_entrypoints`.

pfmoore/pip,pypa/pip,pfmoore/pip,pradyunsg/pip,pypa/pip,sbidoul/pip,pradyunsg/pip,sbidoul/pip