def test_unauthenticated_access(self):
        response = self.client.get('/admin/api/users')
        # Redirects as unauthenticated
        self.assertEquals(response.status_code, 404)
Test index page at /admin/api/users
dataset/ETHPy150Open treeio/treeio/treeio/core/administration/api/tests.py/CoreAPITest.test_unauthenticated_access