code: def testParseTensorNameInputWorks(self):
      self.assertEqual("a", debug_graphs.get_node_name("a:0"))
      self.assertEqual(0, debug_graphs.get_output_slot("a:0"))
  
      self.assertEqual("_b", debug_graphs.get_node_name("_b:1"))
      self.assertEqual(1, debug_graphs.get_output_slot("_b:1"))
  
imports: from tensorflow.python.debug.lib import debug_graphs
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the GetNodeNameAndOutputSlotTest obj's underlying member method code with example usage: obj.testParseTensorNameInputWorks() without return types