'PUT API should complain with a 400 Bad Request on an unsupported
content type submission'

def test_put_unsupported_content_type(self):

    slug = 'new-root-doc'
    url = reverse('wiki.document', args=(slug,), locale=settings.WIKI_DEFAULT_LANGUAGE)
    data = "I    don't    even    know    what    this    content    is."
    resp = self._put(url, json.dumps(data), content_type='x-super-happy-fun-text', HTTP_AUTHORIZATION=self.basic_auth)
    eq_(400, resp.status_code)
