def test_unauthenticated_access(self):
        response = self.client.get('/api/projects/projects')
        # Redirects as unauthenticated
        self.assertEquals(response.status_code, 401)

    # Get info about projects, milestones, status, tasks, tasktimes.
Test index page at /projects
dataset/ETHPy150Open treeio/treeio/treeio/projects/api/tests.py/ProjectsAPITest.test_unauthenticated_access