#NEWLINE# def test_get_by_name( self ) : #NEWLINE# #INDENT# self . mock_wrapper . get . return_value = json . loads ( self . answer_list ) #NEWLINE# f = self . images . get_by_name ( 'Fedora 20' ) #NEWLINE# self . assertEquals ( 1 , len ( f ) ) #NEWLINE# self . assertIsInstance ( self [ 0 ] , runabove . image . Image )