'Watch then unwatch a forum.'

def test_watch_forum(self):

    f = ForumFactory()
    PostFactory(thread__forum=f)
    u = UserFactory()
    self.client.login(username=u.username, password='testpass')
    post(self.client, 'forums.watch_forum', {'watch': 'yes'}, args=[f.slug])
    assert NewThreadEvent.is_notifying(u, f)
    assert (not NewPostEvent.is_notifying(u, f.last_post))
    post(self.client, 'forums.watch_forum', {'watch': 'no'}, args=[f.slug])
    assert (not NewThreadEvent.is_notifying(u, f))
