def METHOD_NAME(
    self, app, factories, db_session
):
    group = factories.OpenGroup()
    db_session.commit()
    res = app.get("/api/groups/{pubid}".format(pubid=group.pubid))
    assert res.status_code == 200
    data = res.json
    assert "id" in data