Пример #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)