def METHOD_NAME(db_session, example_members):
    created = example_members["publisher"]
    partner_member_obj = (
        db_session.query(PartnerMember).filter(
            PartnerMember.id == created["id"]).first()
    )
    assert partner_member_obj.partner_id == created["partner_id"]
    assert partner_member_obj.user_id == created["user_id"]
    assert partner_member_obj.role == created["role"]