'Assert get_object_fallback follows wiki redirects.'

def test_redirect(self):

    target_rev = ApprovedRevisionFactory(document__title='target')
    translated_target_rev = ApprovedRevisionFactory(document__parent=target_rev.document, document__locale='de')
    ApprovedRevisionFactory(document__title='redirect', content='REDIRECT    [[target]]')
    eq_(translated_target_rev.document, get_object_fallback(Document, 'redirect', 'de'))
