'Watch and unwatch a document.'

def test_watch_unwatch(self):

    locale = 'es'
    response = post(self.client, 'wiki.approved_watch', locale=locale)
    eq_(200, response.status_code)
    assert ApproveRevisionInLocaleEvent.is_notifying(self.user, locale=locale)
    response = post(self.client, 'wiki.approved_unwatch', locale=locale)
    eq_(200, response.status_code)
    assert (not ApproveRevisionInLocaleEvent.is_notifying(self.user, locale=locale))
