def _run_mach(self, args, context_handler=None): mach_dir = os.path.dirname(mach.__file__) providers = [ 'commands.py', os.path.join(mach_dir, 'commands', 'commandinfo.py'), ] return TestBase._run_mach(self, args, providers, context_handler=context_handler)
def _run_mach(self, args): mach_dir = os.path.dirname(mach.__file__) providers = [ 'commands.py', os.path.join(mach_dir, 'commands', 'commandinfo.py'), ] def context_handler(key): if key == 'topdir': return topsrcdir return TestBase._run_mach(self, args, providers, context_handler=context_handler)
def _run_mach(self, args, context_handler=_populate_bare_context): return TestBase._run_mach(self, args, 'conditions.py', context_handler=context_handler)
def _run_mach(self, args): return TestBase._run_mach(self, args, 'throw.py', context_handler=_populate_context)
def _run_mach(self, args): return TestBase._run_mach(self, args, 'throw.py')
def _run_mach(self): return TestBase._run_mach(self, ['help'], entry_point='mach.providers')
def _run_mach(self, args, context_handler=None): return TestBase._run_mach(self, args, 'conditions.py', context_handler=context_handler)