Lines Matching refs:self

29     def __init__(self, missing_pg):
30 self.missing_pg = missing_pg
33 def __init__(self, stage, output, message):
34 self.stage = stage
35 self.output = output
36 self.message = message
39 def __init__(self, argparser):
41 self.plugins = {}
42 self.plugin_instances = []
43 self.failed_plugins = {}
44 self.argparser = argparser
56 self.plugins[mn] = foo
57 self.plugin_instances.append(foo.SubPlugin())
59 def load_plugin(self, pgdir, pgname):
62 self.plugins[pgname] = foo
63 self.plugin_instances.append(foo.SubPlugin())
64 self.plugin_instances[-1].check_args(self.args, None)
66 def get_required_plugins(self, testlist):
84 def load_required_plugins(self, reqs, parser, args, remaining):
93 if r not in self.plugins:
109 self.load_plugin(pgdir, fname)
113 parser = self.call_add_args(parser)
117 def call_pre_suite(self, testcount, testidlist):
118 for pgn_inst in self.plugin_instances:
121 def call_post_suite(self, index):
122 for pgn_inst in reversed(self.plugin_instances):
125 def call_pre_case(self, caseinfo, *, test_skip=False):
126 for pgn_inst in self.plugin_instances:
136 def call_post_case(self):
137 for pgn_inst in reversed(self.plugin_instances):
140 def call_pre_execute(self):
141 for pgn_inst in self.plugin_instances:
144 def call_post_execute(self):
145 for pgn_inst in reversed(self.plugin_instances):
148 def call_add_args(self, parser):
149 for pgn_inst in self.plugin_instances:
153 def call_check_args(self, args, remaining):
154 for pgn_inst in self.plugin_instances:
157 def call_adjust_command(self, stage, command):
158 for pgn_inst in self.plugin_instances:
162 def set_args(self, args):
163 self.args = args
167 self.argparser = argparse.ArgumentParser(