'Verify that tagging a question "escalate" submits to zendesk.'

@mock.patch.object(kitsune.questions.tasks, 'submit_ticket')
@mock.patch.object(Site.objects, 'get_current')
def test_escalate_tag(self, get_current, submit_ticket):

    get_current.return_value.domain = 'testserver'
    TagFactory(name='escalate', slug='escalate')
    self.client.post(_add_tag_url(self.question.id), data={'tag-name': 'escalate'}, follow=True)
    question_url = u'https://testserver/en-US{url}'.format(url=self.question.get_absolute_url())
    submit_ticket.assert_called_with(email='support@mozilla.com', category='Escalated', subject=u'[Escalated]    {title}'.format(title=self.question.title), body=u'{url}\n\n{content}'.format(url=question_url, content=self.question.content), tags=['escalate'])
