#NEWLINE# def test_find_objects( self ) : #NEWLINE# #INDENT# linespec = '^interface TenGigabitEthernet0/0/0' #NEWLINE# exp = [ 'interface TenGigabitEthernet0/0/0' , ' ip address 1.1.2.1 255.255.255.0' , ' no cdp enable' ] #NEWLINE# act = self . _execute ( FIND_OBJECTS , linespec ) #NEWLINE# self . assertEqual ( 1 , len ( act ) ) #NEWLINE# self . assertEqual ( act , act [ 0 ] . str_list ( ) )