#NEWLINE# def action( self ) : #NEWLINE# #INDENT# testStack = self . event_stack . value #NEWLINE# self . assertTrue ( ( len ( testStack . rxMsgs ) == 0 ) ) #NEWLINE# testStack . serviceAll ( ) #NEWLINE# self . assertTrue ( ( len ( testStack . rxMsgs ) == 1 ) ) #NEWLINE# tag = tagify ( 'present' , 'presence' ) #NEWLINE# ( msg , sender ) = testStack . rxMsgs . popleft ( ) #NEWLINE# self . assertTrue ( ( msg == { #NEWLINE# #INDENT# 'route' : { #NEWLINE# #INDENT# 'src' : [ None , 'manor' , None ] , #NEWLINE# 'dst' : [ None , None , 'event_fire' ] , #NEWLINE# #UNINDENT# } , #NEWLINE# 'tag' : tag , #NEWLINE# 'data' : { #NEWLINE# #INDENT# 'reaped' : { #NEWLINE# #INDENT# 'alpha' : '1.1.1.1' , #NEWLINE# 'beta' : '1.2.3.4' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) )