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

Method test_empty_layout

tests/unit/test_layout.py:40–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 assert results["deep-child"] == 2
39
40 def test_empty_layout(self):
41 results = list(traverse(html.Div()))
42 assert len(results) == 1 # just the Div itself
43
44
45class TestFindComponent:

Callers

nothing calls this directly

Calls 1

traverseFunction · 0.90

Tested by

no test coverage detected