'Test that the Not Localized and Not Updated events don\'t fire
when they are not appropriate.'

def test_not_fired(self):

    trans = TranslatedRevisionFactory(is_approved=True)
    trans_doc = trans.document
    ApprovedRevisionFactory(document=trans.document.parent, is_ready_for_localization=True, significance=TYPO_SIGNIFICANCE)
    url = reverse('wiki.document', args=[trans_doc.slug], locale=trans_doc.locale)
    response = self.client.get(url, follow=True)
    eq_(200, response.status_code)
    doc = pq(response.content)
    assert ('"Not    Localized"' not in doc('body').attr('data-ga-push'))
    assert ('"Not    Updated"' not in doc('body').attr('data-ga-push'))
