#NEWLINE# def CheckFlow( self ) : #NEWLINE# #INDENT# output_urn = self . client_id . Add ( self . test_output_path ) #NEWLINE# collection = aff4 . FACTORY . Open ( output_urn , mode = 'r' , token = self . token ) #NEWLINE# self . assertIsInstance ( collection , aff4 . RDFValueCollection ) #NEWLINE# persistence_list = list ( collection ) #NEWLINE# self . assertGreater ( len ( persistence_list ) , 5 ) #NEWLINE# launchservices = '/System/Library/CoreServices/launchservicesd' #NEWLINE# for p in collection : #NEWLINE# #INDENT# if ( p . pathspec . path == launchservices ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# #UNINDENT# self . fail ( ( 'Service listing does not contain launchservices: %s.' % launchservices ) )