'Every locale gets its own plugin!'

@mock.patch.object(Site.objects, 'get_current')
def test_localized_plugin(self, get_current):

    get_current.return_value.domain = 'testserver'
    response = self.client.get(reverse('search.plugin', locale='en-US'))
    assert ('/en-US/search' in response.content)
    response = self.client.get(reverse('search.plugin', locale='fr'))
    assert ('/fr/search' in response.content)
