'Submitting the revision form should create a new revision.
No document fields should be updated.'

@mock.patch.object(Site.objects, 'get_current')
def test_translate_update_rev_only(self, get_current):

    get_current.return_value.domain = 'testserver'
    rev_es = self._create_and_approve_first_translation()
    orig_title = rev_es.document.title
    url = reverse('wiki.translate', locale='es', args=[self.d.slug])
    data = _translation_data()
    new_title = 'Un    nuevo    titulo'
    data['title'] = new_title
    data['form'] = 'rev'
    response = self.client.post(url, data)
    eq_(302, response.status_code)
    eq_('http://testserver/es/kb/un-test-articulo/history', response['location'])
    revisions = rev_es.document.revisions.all()
    eq_(2, revisions.count())
    d = Document.objects.get(id=rev_es.document.id)
    eq_(orig_title, d.title)
