def METHOD_NAME(self, roles: List[str]) -> User:
    new_role = baker.make("accounts.Role")
    for role in roles:
        setattr(new_role, role, True)
    new_role.save()
    return baker.make("accounts.User", role=new_role, is_active=True)