Lines Matching refs:parent
10 kind = Kind("some_root_kind", parent=None)
11 ins_outer = InnerNamespace("static", parent=kind)
14 ins1 = InnerNamespace("ins1", parent=ins_outer)
15 ins1a = InnerNamespace("ins1", parent=ins_outer) # same name deliberately
17 parent=ins1, hal_version="3.2")
19 parent=ins1a, hal_version="3.2")
21 parent=ins_outer, hal_version="3.2")
38 self.assertEquals(kind, combined_children_namespace.parent)
55 section = Section("some_section", parent=None)
56 kind_static = Kind("static", parent=section)
57 kind_dynamic = Kind("dynamic", parent=section)
60 ins1 = InnerNamespace("ins1", parent=kind_static)
61 ins2 = InnerNamespace("ins2", parent=kind_dynamic)
63 parent=kind_static, hal_version="3.2")
65 parent=kind_dynamic, hal_version="3.2")
78 self.assertEquals(section, combined_kind.parent)
90 section = Section("some_section", parent=None)
91 kind_static = Kind("static", parent=section)
94 ins1 = InnerNamespace("ins1", parent=kind_static)
95 ins1a = InnerNamespace("ins1", parent=kind_static) # same name deliberately
97 parent=ins1, hal_version="3.2")
99 parent=ins1a, hal_version="3.2")
101 parent=kind_static, hal_version="3.2")
118 self.assertEquals(section, combined_children_kind.parent)