def test_post_no_session(self):
        r = get(self.client, 'forums.new_thread', kwargs={'forum_slug': 'test-forum'})
        assert(settings.LOGIN_URL in r.redirect_chain[0][0])
        eq_(302, r.redirect_chain[0][1])
dataset/ETHPy150Open mozilla/kitsune/kitsune/forums/tests/test_posts.py/PostTestCase.test_post_no_session/original