'Test service call say with german code in the config.'

def test_service_say_german_config(self, aioclient_mock):

    calls = mock_service(self.hass, DOMAIN_MP, SERVICE_PLAY_MEDIA)
    self.form_data['hl'] = 'de-de'
    aioclient_mock.post(self.url, data=self.form_data, status=200, content='test')
    config = {tts.DOMAIN: {'platform': 'voicerss', 'api_key': '1234567xx', 'language': 'de-de'}}
    with assert_setup_component(1, tts.DOMAIN):
        setup_component(self.hass, tts.DOMAIN, config)
    self.hass.services.call(tts.DOMAIN, 'voicerss_say', {tts.ATTR_MESSAGE: 'I    person    is    on    front    of    your    door.'})
    self.hass.block_till_done()
    assert (len(calls) == 1)
    assert (len(aioclient_mock.mock_calls) == 1)
    assert (aioclient_mock.mock_calls[0][2] == self.form_data)
