'Make sure get_object_fallback doesn\'t follow redirects when working
purely in the default language.
That would make it hard to navigate to redirects (to edit them, for
example).'

def test_redirect_translations_only(self):

    ApprovedRevisionFactory(document__title='target', content='O    hai.')
    redirect_rev = ApprovedRevisionFactory(document__title='redirect', content='REDIRECT    [[target]]')
    eq_(redirect_rev.document, get_object_fallback(Document, 'redirect', redirect_rev.document.locale))
