You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_locale.rb
    path of file: ./repos/vacuum/test/unit
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'helper'
require 'vacuum/locale'

module Vacuum
  class TestLocale < Minitest::Test
    def test_host
      locale = Locale.new(:us, **credentials)

      assert locale.host
    end

    def test_regi
    
    def test_upcased_marketplace
      Locale.new('US', **credentials) # does not raise
    end

    def test_uk
      Locale.new(:uk, **credentials) # does not raise
    end

    def test_not_found
      assert_raises Locale::NotFound do
        Locale.new(:foo, **credentials)
      end
    end

    private

    def credentials
      { access_key: '123', secret_key: '123', partner_tag: 'xyz-20' }
    end
  end
end