'Delete a thread while logged out redirects.'

def test_delete_no_session(self):

    r = get(self.client, 'forums.delete_thread', kwargs={'forum_slug': 'test-forum', 'thread_id': 1})
    assert (settings.LOGIN_URL in r.redirect_chain[0][0])
    eq_(302, r.redirect_chain[0][1])
