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
    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
Esempio n. 5
0
 def append(self, child):
     """Add a test to the manifest"""
     ManifestItem.append(self, child)
     self.child_map[child.id] = child
     assert len(self.child_map) == len(self.children)
Esempio n. 6
0
 def append(self, child):
     """Add a test to the manifest"""
     ManifestItem.append(self, child)
     self.child_map[child.id] = child
     assert len(self.child_map) == len(self.children)