#NEWLINE# def test_children( self ) : #NEWLINE# #INDENT# ' children ' #NEWLINE# chd = app . raw . _children_ #NEWLINE# self . assertEqual ( len ( chd ) , 5 ) #NEWLINE# self . assertEqual ( set ( [ 'apis/user' , 'apis/pet' , 'apis/store' ] ) , set ( [ self for ( k , v ) in six . iteritems ( chd ) if isinstance ( v , Resource ) ] ) )