#NEWLINE# def test_DELETE( self ) : #NEWLINE# #INDENT# request = MagicMock ( ) #NEWLINE# self . resource . render_DELETE ( request ) #NEWLINE# self . zone . delete_record . assert_called_once_with ( request . name ) #NEWLINE# request . setResponseCode . assert_called_once_with ( 204 )