def METHOD_NAME(
    self, app, factories, db_session, user_with_token, token_auth_header
):
    user, _ = user_with_token
    group1 = factories.Group(creator=user)
    group2 = factories.Group(creator=user)
    db_session.commit()
    res = app.get("/api/groups", headers=token_auth_header)
    groupids = [group["id"] for group in res.json]
    assert "__world__" in groupids
    assert group1.pubid in groupids
    assert group2.pubid in groupids