def METHOD_NAME(self):
    user_should_have_perm(self.api_user, "auth.change_user")
    user_new_attrs = self.user_new_attrs.copy()
    user_new_attrs[
        "password"  # nosec:B105:hardcoded_password_string
    ] = "new password"
    with self.assertRaisesRegex(
        XmlRPCFault, "Password updates for other users are not allowed via RPC!"
    ):
        self.rpc_client.User.update(self.another_user.pk, user_new_attrs)