def test_watch_forum_without_permission(self):
        rforum = RestrictedForumFactory()
        u = UserFactory()

        self.client.login(username=u.username, password='testpass')
        response = self.client.post(reverse('forums.watch_forum',
                                            args=[rforum.slug]),
                                    {'watch': 'yes'}, follow=False)
        eq_(404, response.status_code)
Watching forums without the view_in_forum permission should 404.
dataset/ETHPy150Open mozilla/kitsune/kitsune/forums/tests/test_views.py/ThreadAuthorityPermissionsTests.test_watch_forum_without_permission