code: def _test_schema_name_for_module(module_name, base_name=""):
      """Sanity test if we didn't miss the _schema_name for any op with custom wrapper"""
      if module_name.endswith("hidden"):
          return
      if base_name == "":
          base_name = module_name
      dali_module = sys.modules[module_name]
      for member_name in dir(dali_module):
          if member_name.startswith("_"):
              continue
          member = getattr(dali_module, member_name)
          if inspect.isfunction(member):
              # Check if we can reconstruct the name of the op from provided schema
              assert hasattr(member, "_schema_name")
              full_name = ops._op_name(member._schema_name)
              nose.tools.eq_(
                  base_name + "." + full_name,
                  module_name + "." + member_name,
              )
          elif (
              inspect.ismodule(member)
              and (module_name + "." + member_name)
              in sys.modules.keys()
          ):
              # Recurse on DALI submodule (filter out non-DALI reexported modules like `sys`)
              _test_schema_name_for_module(
                  module_name + "." + member_name, base_name
              )
  
imports: import nvidia.dali.fn
  import nvidia.dali.ops
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.types
  import numpy
  from nose_utils import assert_raises
  import sys
  import inspect
  from nose.plugins.attrib import attr
  import nose
label_desc: Use image node_id 10 for calling a global function with example usage: _test_schema_name_for_module(module_name, base_name) without return types