<commit_before>module Fog
  module Compute
    class Linode
      class Real

        def linode_disk_delete(linode_id, disk_id)
          request(
            :expects  => 200,
            :method   => 'GET',
            :query    => {
              :api_action => 'linode.disk.delete',
              :linodeId => linode_id,
              :diskId => disk_id
            }
          )
        end

      end

      class Mock
        def linode_disk_delete(linode_id, disk_id)
          response = Excon::Response.new
          response.status = 200
          response.body = {
            "ERRORARRAY" => [],
            "ACTION"     => "linode.disk.delete",
            "DATA"       => { "JobID" => rand(1000..9999),
                              "DiskID" => disk_id }
          }
        end
      end
    end
  end
end<commit_msg>make Mock#linode_disk_delete return the response object<commit_after>module Fog
  module Compute
    class Linode
      class Real

        def linode_disk_delete(linode_id, disk_id)
          request(
            :expects  => 200,
            :method   => 'GET',
            :query    => {
              :api_action => 'linode.disk.delete',
              :linodeId => linode_id,
              :diskId => disk_id
            }
          )
        end

      end

      class Mock
        def linode_disk_delete(linode_id, disk_id)
          response = Excon::Response.new
          response.status = 200
          response.body = {
            "ERRORARRAY" => [],
            "ACTION"     => "linode.disk.delete",
            "DATA"       => { "JobID" => rand(1000..9999),
                              "DiskID" => disk_id }
          }
          response
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.10005783689994216, 'fraction_numerical': 0.016194331983805668, 'mean_word_length': 1.220795892169448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3014253', 'n_tokens_mistral': 524, 'n_tokens_neox': 491, 'n_words': 101}