'Editing just title of non-parent doc:
* Changes title
* Doesn\'t cause errors
* Doesn\'t create redirect'

@pytest.mark.retitle
def test_retitling_solo_doc(self):

    self.client.login(username='admin', password='testpass')
    new_title = 'Some    New    Title'
    rev = revision(is_approved=True, save=True)
    doc = rev.document
    old_title = doc.title
    data = new_document_data()
    data.update({'title': new_title, 'form-type': 'rev'})
    data['slug'] = ''
    url = reverse('wiki.edit', args=[doc.slug])
    self.client.post(url, data)
    eq_(new_title, Document.objects.get(slug=doc.slug, locale=doc.locale).title)
    try:
        Document.objects.get(title=old_title)
        self.fail('Should    not    find    doc    by    old    title    after    retitling.')
    except Document.DoesNotExist:
        pass
