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

Function test_flatten_list

tests/unit/library/test_grouping.py:32–37  ·  view source on GitHub ↗
(list_grouping_size)

Source from the content-addressed store, hash-verified

30
31
32def test_flatten_list(list_grouping_size):
33 grouping, size = list_grouping_size
34 expected = list(range(size))
35 result = flatten_grouping(grouping)
36 assert expected == result
37 assert len(result) == grouping_len(grouping)
38
39
40def test_flatten_dict(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…