#NEWLINE# def test_list_local_processes( self ) : #NEWLINE# #INDENT# pmock = Mock ( ) #NEWLINE# pmock . process_type = sentinel . ptype #NEWLINE# pmock2 = Mock ( ) #NEWLINE# pmock2 . process_type = sentinel . ptype2 #NEWLINE# self . pm . procs = { #NEWLINE# #INDENT# 'one' : pmock , #NEWLINE# 'two' : pmock2 , #NEWLINE# 'three' : self , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEquals ( self . pm . list_local_processes ( ) , [ pmock , pmock2 , pmock ] )