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

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

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