'PUT API should allow creation of a document whose path would place
it at the root of the topic hierarchy.'

def test_put_new_root(self):

    slug = 'new-root-doc'
    url = reverse('wiki.document', args=(slug,), locale=settings.WIKI_DEFAULT_LANGUAGE)
    data = dict(title='This    is    the    title    of    a    new    page', content='\n                                                                <p>This    is    a    new    page,    hooray!</p>\n                                                ', tags='hello,quux,xyzzy', review_tags='technical')
    resp = self._put(url, data, HTTP_AUTHORIZATION=self.basic_auth)
    eq_(201, resp.status_code)
