code: def test_endpoint_name_not_str(self):
      self.assertRaises(TypeError, _check_endpoint_name, 2)
  
imports: import unittest
  from tabpy.tabpy_server.common.endpoint_file_mgr import _check_endpoint_name
label_desc: Use image node_id 1 for calling the TestEndpointFileManager obj's underlying member method code with example usage: obj.test_endpoint_name_not_str() without return types