MCPcopy Index your code
hub / github.com/plotly/dash / test_docstring

Function test_docstring

tests/unit/development/test_metadata_conversions.py:47–54  ·  view source on GitHub ↗
(load_test_metadata_json)

Source from the content-addressed store, hash-verified

45
46
47def test_docstring(load_test_metadata_json):
48 docstring = create_docstring(
49 "Table",
50 load_test_metadata_json["props"],
51 load_test_metadata_json["description"],
52 )
53 (prohibit_events(load_test_metadata_json["props"]),)
54 assert not list(unified_diff(expected_table_component_doc, docstring.splitlines()))
55
56
57def test_docgen_to_python_args(load_test_metadata_json):

Callers

nothing calls this directly

Calls 2

create_docstringFunction · 0.90
prohibit_eventsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…