'Test the warning if the same article is being edited concurrently.'

def test_revision_conflict(self):

    c = self.c
    example_data = {u'content': u'More    modifications', u'current_revision': str(URLPath.root().article.current_revision.id), u'preview': u'0', u'save': u'1', u'summary': u'why    edited', u'title': u'wiki    test'}
    response = c.post(resolve_url(u'wiki:edit', path=u''), example_data)
    self.assertRedirects(response, resolve_url(u'wiki:root'))
    response = c.post(resolve_url(u'wiki:edit', path=u''), example_data)
    self.assertContains(response, u'While    you    were    editing,    someone    else    changed    the    revision.')
