class_docstr: Test the path hook for source.
class_docstr_tok: ["Test","the","path","hook","for","source","."]
code: def test_success(self):
      with util.create_modules("dummy") as mapping:
          self.assertTrue(
              hasattr(self.path_hook()(mapping[".root"]), "find_spec")
          )
  
imports: from test.test_importlib import util
  import unittest
label_desc: Use image node_id 2 for calling the PathHookTest obj's underlying member method code with example usage: obj.test_success() without return types