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

Function test_flatten_dict

tests/unit/library/test_grouping.py:40–45  ·  view source on GitHub ↗
(dict_grouping_size)

Source from the content-addressed store, hash-verified

38
39
40def test_flatten_dict(dict_grouping_size):
41 grouping, size = dict_grouping_size
42 expected = list(range(size))
43 result = flatten_grouping(grouping)
44 assert expected == result
45 assert len(result) == grouping_len(grouping)
46
47
48def test_flatten_dict_key_order(dict_grouping_size):

Callers

nothing calls this directly

Calls 2

flatten_groupingFunction · 0.90
grouping_lenFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…