11 return [[action_set.name
for action_set
in group]
for group
in groups]
15 v = [
_FakeActionSet(f
"v{i}", parallel)
for i, parallel
in enumerate([
True,
True,
False,
True,
True], start=1)]
16 assert _names(get_task_groups(v)) == [[
"v1",
"v2"], [
"v3"], [
"v4",
"v5"]]
21 assert _names(get_task_groups(v)) == [[
"v1"], [
"v2"], [
"v3"]]
25 v1, v2, v3, v4 = (
_FakeActionSet(f
"v{i}",
True)
for i
in range(1, 5))
31 assert _names(get_task_groups([v1, v2, v3])) == [[
"v1"], [
"v2",
"v3"]]
Marker which ends a group of action sets that run in parallel.
__init__(self, name, parallel)
The Python-side model of "what happens during one mesh sweep".
test_runs_of_parallel_action_sets_form_groups()
test_sequential_action_sets_form_groups_of_their_own()
test_parallel_action_set_after_sequential_one_starts_a_new_group()
test_marker_separates_groups_and_is_not_part_of_any_group()