def METHOD_NAME(self, request, connection_with_udf):
    """
    Setup method.
    """
    for i in range(15):
        key = ("test", "demo", i)
        rec = {"age": i}
        connection_with_udf.put(key, rec)
    self.job_id = connection_with_udf.scan_apply("test", "demo", "bin_lua", "mytransform", ["age", 2])
    def teardown():
        """
        Teardown method.
        """
        for i in range(15):
            key = ("test", "demo", i)
            connection_with_udf.remove(key)
    request.addfinalizer(teardown)