def test_news_top(self):
        response = self.client.post('/accounts/login',
                                    {'username': self.username, 'password': self.password})
        self.assertRedirects(response, '/')
        response = self.client.get(reverse('news_top'))
        self.assertEquals(response.status_code, 200)
The default behavior should be to disallow credentials.
dataset/ETHPy150Open treeio/treeio/treeio/news/tests.py/NewsViewsTest.test_news_top--crossover with--dataset/ETHPy150Open corydolphin/flask-cors/tests/decorator/test_credentials.py/SupportsCredentialsCase.test_credentials_unsupported