#NEWLINE# def test_index( self ) : #NEWLINE# #INDENT# req = self . _get_request ( 'cells' ) #NEWLINE# res_dict = self . controller . index ( req ) #NEWLINE# self . assertEqual ( len ( res_dict [ 'cells' ] ) , 2 ) #NEWLINE# for ( i , cell ) in enumerate ( res_dict [ 'cells' ] ) : #NEWLINE# #INDENT# self . assertEqual ( cell [ 'name' ] , self . fake_cells [ i ] [ 'name' ] ) #NEWLINE# self . assertNotIn ( 'capabilitiles' , cell ) #NEWLINE# self . assertNotIn ( 'password' , cell )