'Watch and unwatch a document.'

def test_watch_unwatch(self):

    user = self.user_model.objects.get(username='testuser')
    for (view, Event) in self.subscribe_views:
        response = self.client.post(reverse(view, args=[self.doc.slug]), follow=True)
        eq_(200, response.status_code)
        assert Event.is_notifying(user, self.doc), 'Watch    was    not    created'
        response = self.client.post(reverse(view, args=[self.doc.slug]), follow=True)
        eq_(200, response.status_code)
        assert (not Event.is_notifying(user, self.doc)), 'Watch    was    not    destroyed'
