def __init__(self, jenkins_job, mock_job): ObjectWrapper.__init__(self, jenkins_job) TestJob.__init__(self, exec_time=mock_job.exec_time, max_fails=mock_job.max_fails, expect_invocations=mock_job.expect_invocations, expect_order=mock_job.expect_order, initial_buildno=mock_job.initial_buildno, invocation_delay=mock_job.invocation_delay, unknown_result=mock_job.unknown_result, final_result=mock_job.final_result, serial=mock_job.serial, print_env=False, flow_created=mock_job.flow_created, create_job=mock_job.create_job, disappearing=mock_job.disappearing, non_existing=mock_job.non_existing, kill=mock_job.kill)
def __init__(self, rfile): ObjectWrapper.__init__(self, rfile) self.capture = StringIO()
def __init__(self, ob, name): ObjectWrapper.__init__(self, ob) self.name = name
def __init__(self, *args, **kwargs): ObjectWrapper.__init__(self, *args, **kwargs) self.__obj_stack = []
def __init__(self, jenkins_job, exec_time, max_fails, expect_invocations, expect_order, unknown_result, final_result, serial): ObjectWrapper.__init__(self, jenkins_job) TestJob.__init__(self, exec_time=exec_time, max_fails=max_fails, expect_invocations=expect_invocations, expect_order=expect_order, initial_buildno=None, invocation_delay=0.01, unknown_result=unknown_result, final_result=final_result, serial=serial)
def __init__(self, jenkins_job): ObjectWrapper.__init__(self, jenkins_job) params = jenkins_job.get_params_list() self.public_uri = self.baseurl self.non_clickable_build_trigger_url = self.baseurl if not params else self.baseurl + " - parameters:"
def __init__(self, collection): ObjectWrapper.__init__(self, iter(collection.collection_fields())) self.collection = collection
def __init__(self, obj, form_item, property_name): ObjectWrapper.__init__(self, obj) self.__form_item = form_item self.__property_name = property_name
def __init__(self, obj): ObjectWrapper.__init__(self, obj) self.background_color = '#fff7ee' self.tint_color = 'black'
def __init__(self, jenkins_build, job): ObjectWrapper.__init__(self, jenkins_build) self.job = job
def __init__(self, jenkins_job): ObjectWrapper.__init__(self, jenkins_job) # TODO params validation? params = jenkins_job.get_params_list() self.public_uri = self.baseurl
def __init__(self, form): self.form = form ObjectWrapper.__init__(self, form.structure.fields)
def __init__(self, obj): ObjectWrapper.__init__(self, obj)