'Watch and unwatch a document.'

def test_watch_unwatch(self):

    response = post(self.client, 'wiki.document_watch', args=[self.document.slug])
    eq_(200, response.status_code)
    assert EditDocumentEvent.is_notifying(self.user, self.document), 'Watch    was    not    created'
    response = post(self.client, 'wiki.document_unwatch', args=[self.document.slug])
    eq_(200, response.status_code)
    assert (not EditDocumentEvent.is_notifying(self.user, self.document)), 'Watch    was    not    destroyed'
