def METHOD_NAME(self):
    """
    Test to verify that an invalid udf_type causes an error
    """
    policy = {"timeout": 180000}
    filename = self.udf_name
    udf_type = 1
    with pytest.raises(e.ClientError) as err_info:
        self.as_connection.udf_put(filename, udf_type, policy)
    assert err_info.value.code == AerospikeStatus.AEROSPIKE_ERR_CLIENT