def test_news_index(self):
        response = self.client.get(reverse('news'))
        # Redirects as unauthenticated
        self.assertRedirects(response, "/accounts/login")
Harness to test if the FrameSet.__len__ call works properly.
dataset/ETHPy150Open treeio/treeio/treeio/news/tests.py/NewsViewsTest.test_news_index--crossover with--dataset/ETHPy150Open sqlboy/fileseq/test/run.py/TestFrameSet._check___len__