def test_anonymous_user(self):
        user = TestUsers.new_user()
        response = self.get_response(user.id)

        self.assertNotAuthenticated(response)
It should reject request from an anonymous user.
dataset/ETHPy150Open bmun/huxley/huxley/api/tests/test_user.py/UserDetailGetTestCase.test_anonymous_user