#NEWLINE# def testChildren( self ) : #NEWLINE# #INDENT# ' Test child node lookup ' #NEWLINE# uids = self . uids #NEWLINE# rows = self . rows #NEWLINE# assertEqual = self . assertEqual #NEWLINE# h = S3Hierarchy ( 'test_hierarchy' ) #NEWLINE# for uid in uids : #NEWLINE# #INDENT# assertEqual ( h . children ( uids [ uid ] ) , set ( ( row . id for row in rows . values ( ) if ( row . parent == self [ uid ] ) ) ) )