4 cf.Core.environment().options().set(
'log_level', 4)
8 parent = root.create_component(
'parent',
'cf3.common.Group')
10 parent.create_component(
'child01',
'cf3.common.Group').mark_basic()
12 child02 = parent.create_component(
'child02',
'cf3.common.Group')
20 parent.child02.create_component(
'child03',
'cf3.common.Group').mark_basic()
22 print parent.child02.child03
28 l[1] = parent.get_child(
'child02')
29 l[2] = parent.children.child02
30 l[3] = parent.children[
'child02']
31 l[4] = parent.children().child02
32 l[5] = parent.children()[
'child02']
35 cf.cf_check(child == child02,
"Invalid child in list")
40 for comp_name
in parent.children.keys():
41 l.append(parent.children[comp_name])
44 cf.cf_check(child == parent.get_child(child.name()),
"Invalid child in list")