'Watch and unwatch a forum.'

def test_watch_forum(self):

    f = ForumFactory()
    u = UserFactory()
    self.client.login(username=u.username, password='testpass')
    response = post(self.client, 'forums.watch_forum', {'watch': 'yes'}, args=[f.slug])
    self.assertContains(response, 'Stop    watching    this    forum')
    response = post(self.client, 'forums.watch_forum', {'watch': 'no'}, args=[f.slug])
    self.assertNotContains(response, 'Stop    watching    this    forum')
