import_tests_in_directory

omni.graph.tools.import_tests_in_directory(module_file: str, module_name: str)

Find all of the .ogn-generated tests in a module’s directory and import them into that module. This will only be called from the generated test directory __init__.py file, generated below by the import_file_contents() function

Parameters
  • module_file – Full path of the __init__.py file for the generated test directory (e.g. its __file__)

  • module_name – Module name at which the generated test directory is imported (e.g. its __name__)