def __init__(self, parent):
     _Table.__init__(self, parent)
     self.doc = Documentation('Documentation', self)
     self.suite_setup = Fixture('Suite Setup', self)
     self.suite_teardown = Fixture('Suite Teardown', self)
     self.test_setup = Fixture('Test Setup', self)
     self.test_teardown = Fixture('Test Teardown', self)
     self.force_tags = Tags('Force Tags', self)
     self.default_tags = Tags('Default Tags', self)
     self.test_template = Template('Test Template', self)
     self.test_timeout = Timeout('Test Timeout', self)
     self.metadata = MetadataList(self)
     self.imports = ImportList(self)
Exemple #2
0
 def __init__(self, parent, name):
     self.parent = parent
     self.name = name
     self.doc = Documentation('[Documentation]', self)
     self.template = Template('[Template]', self)
     self.tags = Tags('[Tags]', self)
     self.setup = Fixture('[Setup]', self)
     self.teardown = Fixture('[Teardown]', self)
     self.timeout = Timeout('[Timeout]', self)
     self.steps = []