code: def test_project_discover_templates_path(rootdir):
      # templates_path
      project = Project(rootdir / "test-root", [".html"])
      assert project.discover() == {
          "_templates/layout",
          "_templates/customsb",
          "_templates/contentssb",
      }
  
      assert project.discover(["_templates"]) == set()
  
file_path: sphinx/tests/test_project.py
imports: import pytest
  from sphinx.project import Project
label_desc: Use image node_id 5 for calling a global function with example usage: test_project_discover_templates_path(rootdir) without return types