MCPcopy Create free account
hub / github.com/python-visualization/folium / find_notebooks

Function find_notebooks

tests/selenium/test_selenium.py:15–23  ·  view source on GitHub ↗

Return a list of filenames of the example notebooks.

()

Source from the content-addressed store, hash-verified

13
14
15def find_notebooks():
16 """Return a list of filenames of the example notebooks."""
17 path = os.path.dirname(__file__)
18 pattern = os.path.join(path, "..", "..", "docs", "**", "*.md")
19 files = glob.glob(pattern, recursive=True)
20 if files:
21 return files
22 else:
23 raise OSError("Could not find the notebooks")
24
25
26@pytest.mark.parametrize("filepath", find_notebooks())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…