コード例 #1
0
ファイル: ec2.py プロジェクト: avocado-framework/avocado-ec2
 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
コード例 #2
0
ファイル: html.py プロジェクト: JGMarshall/avocado
    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)
コード例 #3
0
    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)
コード例 #4
0
ファイル: html.py プロジェクト: chloerh/avocado
    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)
コード例 #5
0
ファイル: journal.py プロジェクト: MalleshKoti/avocado
 def run(self, args):
     if 'journal' in args and args.journal is True:
         register_test_result_class(args, TestResultJournal)
コード例 #6
0
ファイル: remote.py プロジェクト: bssrikanth/avocado
 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")
コード例 #7
0
ファイル: ec2.py プロジェクト: fruch/avocado-ec2
 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
コード例 #8
0
ファイル: json.py プロジェクト: wkf31156/avocado
 def run(self, args):
     if 'json_output' in args and args.json_output is not None:
         register_test_result_class(args, JSONTestResult)
コード例 #9
0
ファイル: vm.py プロジェクト: chloerh/avocado
 def run(self, args):
     if self._check_required_args(args, 'vm_domain', ('vm_domain',)):
         register_test_result_class(args, VMTestResult)
         args.test_runner = VMTestRunner
コード例 #10
0
ファイル: vm.py プロジェクト: adereis/avocado
 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')
コード例 #11
0
ファイル: vm.py プロジェクト: 1587/avocado
 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')
コード例 #12
0
 def run(self, args):
     if 'xunit_output' in args and args.xunit_output is not None:
         register_test_result_class(args, xUnitTestResult)
コード例 #13
0
ファイル: xunit.py プロジェクト: MalleshKoti/avocado
 def run(self, args):
     if 'xunit_output' in args and args.xunit_output is not None:
         register_test_result_class(args, xUnitTestResult)
コード例 #14
0
ファイル: remote.py プロジェクト: wkf31156/avocado
 def run(self, args):
     if self._check_required_args(args, 'remote_hostname',
                                  ('remote_hostname',)):
         register_test_result_class(args, RemoteTestResult)
         args.test_runner = RemoteTestRunner
コード例 #15
0
ファイル: vm.py プロジェクト: king32783784/avocado
 def run(self, args):
     if self._check_required_args(args, 'vm_domain', ('vm_domain', )):
         register_test_result_class(args, VMTestResult)
         args.test_runner = VMTestRunner
コード例 #16
0
ファイル: tap.py プロジェクト: PraveenPenguin/avocado
 def run(self, args):
     if getattr(args, "tap", False):
         register_test_result_class(args, TAPResult)
コード例 #17
0
 def run(self, args):
     if 'journal' in args and args.journal is True:
         register_test_result_class(args, TestResultJournal)
コード例 #18
0
ファイル: tap.py プロジェクト: shellyyang1989/avocado
 def run(self, args):
     if getattr(args, "tap", False):
         register_test_result_class(args, TAPResult)
コード例 #19
0
ファイル: json.py プロジェクト: JGMarshall/avocado
 def run(self, args):
     if 'json_output' in args and args.json_output is not None:
         register_test_result_class(args, JSONTestResult)
コード例 #20
0
ファイル: remote.py プロジェクト: MalleshKoti/avocado
 def run(self, args):
     if self._check_required_args(args, 'remote_hostname',
                                  ('remote_hostname',)):
         register_test_result_class(args, RemoteTestResult)
         args.test_runner = RemoteTestRunner
コード例 #21
0
ファイル: remote.py プロジェクト: yafu-1/avocado
 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')