def run(self, args): if self._check_required_args(args, 'ec2_ami_id', ('ec2_ami_id', 'ec2_security_group_ids', 'ec2_subnet_id', 'ec2_instance_type')): register_test_result_class(args, EC2TestResult) args.test_runner = EC2TestRunner
def run(self, args): if 'html_output' in args and args.html_output == '-': log = logging.getLogger("avocado.app") log.error('HTML to stdout not supported (not all HTML resources ' 'can be embedded on a single file)') sys.exit(exit_codes.AVOCADO_JOB_FAIL) if 'html_output' in args and args.html_output is not None: register_test_result_class(args, HTMLTestResult)
def run(self, args): if 'html_output' in args and args.html_output == '-': view = output.View(app_args=args) view.notify(event='error', msg='HTML to stdout not supported ' '(not all HTML resources can be embedded ' 'on a single file)') sys.exit(exit_codes.AVOCADO_JOB_FAIL) if 'html_output' in args and args.html_output is not None: register_test_result_class(args, HTMLTestResult)
def run(self, args): if 'journal' in args and args.journal is True: register_test_result_class(args, TestResultJournal)
def run(self, args): if self._check_required_args(args, "remote_hostname", ("remote_hostname",)): register_test_result_class(args, RemoteResult) args.test_runner = RemoteTestRunner setattr(args, "stdout_claimed_by", "--remote-hostname")
def run(self, args): if 'json_output' in args and args.json_output is not None: register_test_result_class(args, JSONTestResult)
def run(self, args): if self._check_required_args(args, 'vm_domain', ('vm_domain',)): register_test_result_class(args, VMTestResult) args.test_runner = VMTestRunner
def run(self, args): if self._check_required_args(args, 'vm_domain', ('vm_domain',)): register_test_result_class(args, VMResult) args.test_runner = VMTestRunner setattr(args, 'stdout_claimed_by', '--vm-domain')
def run(self, args): if 'xunit_output' in args and args.xunit_output is not None: register_test_result_class(args, xUnitTestResult)
def run(self, args): if self._check_required_args(args, 'remote_hostname', ('remote_hostname',)): register_test_result_class(args, RemoteTestResult) args.test_runner = RemoteTestRunner
def run(self, args): if self._check_required_args(args, 'vm_domain', ('vm_domain', )): register_test_result_class(args, VMTestResult) args.test_runner = VMTestRunner
def run(self, args): if getattr(args, "tap", False): register_test_result_class(args, TAPResult)
def run(self, args): if self._check_required_args(args, 'remote_hostname', ('remote_hostname', )): register_test_result_class(args, RemoteResult) args.test_runner = RemoteTestRunner setattr(args, 'stdout_claimed_by', '--remote-hostname')