code: def test_no_creds_required_auth_fails(self):
      response = self.fetch("/endpoints")
      self.assertEqual(401, response.code)
  
file_path: TabPy/tests/unit/server_tests/test_endpoints_handler.py
imports: import base64
  import os
  import tempfile
  from tabpy.tabpy_server.app.app import TabPyApp
  from tabpy.tabpy_server.handlers.util import hash_password
  from tornado.testing import AsyncHTTPTestCase
label_desc: Use image node_id 4 for calling the TestEndpointsHandlerWithAuth obj's underlying member method code with example usage: obj.test_no_creds_required_auth_fails() without return types