def METHOD_NAME(
    self, app, auth_client_header, factories, db_session
):
    group = factories.Group(authority="somewhere-else.com")
    db_session.commit()
    res = app.get(
        "/api/groups/{pubid}".format(pubid=group.pubid),
        headers=auth_client_header,
        expect_errors=True,
    )
    assert res.status_code == 404