#NEWLINE# def test_index_and_detail_have_same_results( self ) : #NEWLINE# #INDENT# index = self . image_service . index ( self . context ) #NEWLINE# detail = self . image_service . detail ( self . context ) #NEWLINE# index_set = set ( [ ( i [ 'id' ] , i [ 'name' ] ) for i in index ] ) #NEWLINE# detail_set = set ( [ ( i [ 'id' ] , i [ 'name' ] ) for i in detail ] ) #NEWLINE# self . assertEqual ( index_set , detail_set )