def append(self, node): """Add a subtest to the current test :param node: AST Node associated with the subtest""" child = ManifestItem.append(self, node) self.subtests[child.name] = child
def append(self, child): """Add a test to the manifest""" ManifestItem.append(self, child) self.child_map[child.id] = child