class_docstr: Test that verifies files that list paths for TensorFlow API.
code: def test_V2_init_files(self):
      modules = _get_modules(
          "tensorflow", "_tf_api_names", "_tf_api_constants"
      )
      file_path = resource_loader.get_path_to_datafile(
          "api_init_files.bzl"
      )
      paths = _get_files_set(
          file_path, "# BEGIN GENERATED FILES", "# END GENERATED FILES"
      )
      module_paths = set(
          f for module in modules for f in _module_to_paths(module)
      )
      self._validate_paths_for_modules(
          paths, module_paths, file_to_update_on_error=file_path
      )
  
file_path: tensorflow-upstream/tensorflow/python/tools/api/generator/output_init_files_test.py
imports: import argparse
  import importlib
  import sys
  from tensorflow.python.platform import resource_loader
  from tensorflow.python.platform import test
  from tensorflow.python.util import tf_decorator
label_desc: Use image node_id 2 for calling the OutputInitFilesTest obj's underlying member method code with example usage: obj.test_V2_init_files() without return types