'The plugin loads with the correct mimetype.'

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

    get_current.return_value.domain = 'testserver'
    response = self.client.get(reverse('search.plugin', locale='en-US'))
    eq_(200, response.status_code)
    assert ('expires' in response)
    eq_('application/opensearchdescription+xml', response['content-type'])
