#NEWLINE# def test_delete_image( self ) : #NEWLINE# #INDENT# fake_image_id = 'fake_image_id_1' #NEWLINE# self . glance_image . delete_image ( self ) #NEWLINE# self . glance_mock_client ( ) . images . update . assert_called_once_with ( fake_image_id , protected = False ) #NEWLINE# self . glance_mock_client ( ) . images . delete . assert_called_once_with ( fake_image_id )