Lines Matching refs:self
73 def __init__(self, subtool=None):
74 self.libinput_tool = "@TOOL_PATH@"
75 self.subtool = subtool
77 def run_command(self, args):
78 args = [self.libinput_tool] + args
79 if self.subtool is not None:
80 args.insert(1, self.subtool)
84 def run_command_success(self, args):
85 rc, stdout, stderr = self.run_command(args)
91 def run_command_invalid(self, args):
92 rc, stdout, stderr = self.run_command(args)
96 def run_command_unrecognized_option(self, args):
97 rc, stdout, stderr = self.run_command(args)
102 def run_command_missing_arg(self, args):
103 rc, stdout, stderr = self.run_command(args)
108 def run_command_unrecognized_tool(self, args):
109 rc, stdout, stderr = self.run_command(args)
116 def __init__(self, subtool="debug-gui"):
129 rc, _, _ = self.run_command(["--help"])