class_docstr: Tests for tf_export class.
class_docstr_tok: ["Tests","for","tf_export","class","."]
code: def testExportClasses(self):
      export_decorator_a = tf_export.tf_export("TestClassA1")
      export_decorator_a(self._test_class_a)
      self.assertEqual(
          ("TestClassA1",), self._test_class_a._tf_api_names
      )
      self.assertNotIn("_tf_api_names", self._test_class_b.__dict__)
  
      export_decorator_b = tf_export.tf_export("TestClassB1")
      export_decorator_b(self._test_class_b)
      self.assertEqual(
          ("TestClassA1",), self._test_class_a._tf_api_names
      )
      self.assertEqual(
          ("TestClassB1",), self._test_class_b._tf_api_names
      )
      self.assertEqual(
          ["TestClassA1"], tf_export.get_v1_names(self._test_class_a)
      )
      self.assertEqual(
          ["TestClassB1"], tf_export.get_v1_names(self._test_class_b)
      )
  
file_path: tensorflow/tensorflow/python/util/tf_export_test.py
imports: import sys
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util import tf_decorator
  from tensorflow.python.util import tf_export
label_desc: Use image node_id 7 for calling the ValidateExportTest obj's underlying member method code with example usage: obj.testExportClasses() without return types