示例#1
0
 def __init__(self, forstep, template=None):
     BaseKeyword.__init__(self, self._get_name(forstep), type='for')
     self.vars = forstep.vars
     self.items = forstep.items
     self.range = forstep.range
     self.keywords = Keywords(forstep.steps, template)
     self._templated = bool(template)
示例#2
0
 def __init__(self, forstep, template=None):
     BaseKeyword.__init__(self, self._get_name(forstep), type='for')
     self.vars = forstep.vars
     self.items = forstep.items
     self.range = forstep.range
     self.keywords = Keywords(forstep.steps, template)
     self._templated = bool(template)
示例#3
0
 def __init__(self, name, args, assign=None, type='kw'):
     BaseKeyword.__init__(self, name, args, type=type)
     self.assign = assign or []
     self.handler_name = name
示例#4
0
 def __init__(self, vars, items):
     name = ', '.join(format_assign_message(var, item)
                      for var, item in zip(vars, items))
     BaseKeyword.__init__(self, name, type='foritem')
     self.starttime = get_timestamp()
示例#5
0
 def __init__(self, node, log_level=None):
     self._init_data()
     BaseKeyword.__init__(self, node.get_attr('name'))
     _KeywordReader.__init__(self, node, log_level)
示例#6
0
 def __init__(self, name, args, assign=None, type='kw'):
     BaseKeyword.__init__(self, name, args, type=type)
     self.assign = assign or []
     self.handler_name = name
示例#7
0
 def __init__(self, vars, items):
     name = ', '.join(
         format_assign_message(var, item) for var, item in zip(vars, items))
     BaseKeyword.__init__(self, name, type='foritem')
     self.starttime = get_timestamp()
 def __init__(self, node, log_level=None):
     self._init_data()
     BaseKeyword.__init__(self, node.get('name'))
     _KeywordReader.__init__(self, node, log_level)