<s> from robot import model , utils <EOL> from . message import Message <EOL> class Keyword ( model . Keyword ) : <EOL> __slots__ = [ '<STR_LIT:status>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> message_class = Message <EOL> def __init__ ( self , name = '<STR_LIT>' , doc = '<STR_LIT>' , args = None , type = '<STR_LIT>' , timeout = '<STR_LIT>' , <EOL> status = '<STR_LIT>' , starttime = None , endtime = None ) : <EOL> """<STR_LIT>""" <EOL> model . Keyword . __init__ ( self , name , doc , args , type , timeout ) <EOL> self . status = status <EOL> self . starttime = starttime <EOL> self . endtime = endtime <EOL> @ property <EOL> def elapsedtime ( self ) : <EOL> return utils . get_elapsed_time ( self . starttime , self . endtime ) <EOL> @ property <EOL> def passed ( self ) : <EOL> return self . status == '<STR_LIT>' </s>
