#NEWLINE# def test_delete_and_return_true( self ) : #NEWLINE# #INDENT# for dut in self . duts : #NEWLINE# #INDENT# dut . config ( 'interface Loopback0' ) #NEWLINE# result = dut . api ( 'interfaces' ) . delete ( 'Loopback0' ) #NEWLINE# self . assertTrue ( result ) #NEWLINE# config = dut . run_commands ( 'show interfaces' ) #NEWLINE# self . assertNotIn ( 'Loopback0' , config [ 0 ] [ 'interfaces' ] )