#NEWLINE# def test_trace_get_apply_display_filters_show_trigger_instances( self ) : #NEWLINE# #INDENT# trace = trace_models . Trace ( ) #NEWLINE# setattr ( trace , 'action_executions' , [ '1' ] ) #NEWLINE# setattr ( trace , 'rules' , [ '1' ] ) #NEWLINE# setattr ( trace , 'trigger_instances' , [ '1' ] ) #NEWLINE# args = argparse . Namespace ( ) #NEWLINE# setattr ( args , 'show_executions' , False ) #NEWLINE# setattr ( args , 'show_rules' , False ) #NEWLINE# setattr ( args , 'show_trigger_instances' , True ) #NEWLINE# setattr ( args , 'hide_noop_triggers' , False ) #NEWLINE# trace = trace_commands . TraceGetCommand . _apply_display_filters ( trace , args ) #NEWLINE# self . assertFalse ( trace . action_executions ) #NEWLINE# self . assertFalse ( trace . rules ) #NEWLINE# self . assertTrue ( trace . trigger_instances )