def test_reply_without_view_permission(self):
        rforum = RestrictedForumFactory()
        t = ThreadFactory(forum=rforum)
        u = UserFactory()

        self.client.login(username=u.username, password='testpass')
        response = post(self.client, 'forums.reply', {'content': 'Blahs'},
                        args=[t.forum.slug, t.id])
        eq_(404, response.status_code)
Posting without view_in_forum permission should 404.
dataset/ETHPy150Open mozilla/kitsune/kitsune/forums/tests/test_views.py/PostPermissionsTests.test_reply_without_view_permission