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

Function test_repr_with_wildcards

tests/unit/development/test_generate_class.py:96–102  ·  view source on GitHub ↗
(component_class)

Source from the content-addressed store, hash-verified

94
95
96def test_repr_with_wildcards(component_class):
97 c = component_class(id="1", **{"data-one": "one", "aria-two": "two"})
98 data_first = "Table(id='1', data-one='one', aria-two='two')"
99 aria_first = "Table(id='1', aria-two='two', data-one='one')"
100 repr_string = repr(c)
101
102 assert repr_string == data_first or repr_string == aria_first
103
104
105def test_docstring(component_class):

Callers

nothing calls this directly

Calls 1

component_classFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…