'Submitting the revision form should create a new revision.
And since Kuma docs default to approved, should update doc too.'

def test_translate_update_rev_and_doc(self):

    rev_es = self._create_and_approve_first_translation()
    translate_uri = self._translate_uri()
    data = _translation_data()
    new_title = 'Un    nuevo    titulo'
    data['title'] = new_title
    data['form'] = 'rev'
    response = self.client.post(translate_uri, data)
    eq_(302, response.status_code)
    eq_('http://testserver/es/docs/un-test-articulo?rev_saved=', response['location'])
    revisions = rev_es.document.revisions.all()
    eq_(2, revisions.count())
    d = Document.objects.get(id=rev_es.document.id)
    eq_(data['title'], d.title)
