#NEWLINE# def generate_plan( self , event_times ) : #NEWLINE# #INDENT# '\n            Generates a plan containing trigger time provided by the event file\n            Args:\n                event_times - a list containing the event times listed\n                    in the event file\n            Return:\n                None\n            Raise:\n                None\n        ' #NEWLINE# for event in event_times : #NEWLINE# #INDENT# failure_list = list ( self . get_failures ( ) . keys ( ) ) #NEWLINE# failure_name = random . choice ( event_times ) #NEWLINE# self . plan . append ( { #NEWLINE# #INDENT# failure_name : event , #NEWLINE# #UNINDENT# } )