def test_runner_kwargs(self):
     self.monkey_patch_argv('--quiet')
     self.assertEqual(
         runner_kwargs(),
         {'additional_emr_info': None,
          'aws_availability_zone': None,
          'aws_region': None,
          'bootstrap_actions': [],
          'bootstrap_cmds': [],
          'bootstrap_files': [],
          'bootstrap_mrjob': None,
          'bootstrap_python_packages': [],
          'conf_path': None,
          'ec2_core_instance_bid_price': None,
          'ec2_core_instance_type': None,
          'ec2_instance_type': None,
          'ec2_key_pair': None,
          'ec2_master_instance_bid_price': None,
          'ec2_master_instance_type': None,
          'ec2_task_instance_bid_price': None,
          'ec2_task_instance_type': None,
          'emr_endpoint': None,
          'emr_job_flow_pool_name': None,
          'enable_emr_debugging': None,
          'hadoop_version': None,
          'label': None,
          'num_ec2_core_instances': None,
          'num_ec2_instances': None,
          'num_ec2_task_instances': None,
          'owner': None,
          'pool_emr_job_flows': None,
          's3_endpoint': None,
          's3_log_uri': None,
          's3_scratch_uri': None,
          's3_sync_wait_time': None})
Exemple #2
0
    def test_runner_kwargs(self):
        self.monkey_patch_argv('--quiet')

        self.assertEqual(
            runner_kwargs(), {
                'additional_emr_info': None,
                'ami_version': None,
                'aws_availability_zone': None,
                'aws_region': None,
                'bootstrap': None,
                'bootstrap_actions': [],
                'bootstrap_cmds': [],
                'bootstrap_files': [],
                'bootstrap_mrjob': None,
                'bootstrap_python': None,
                'bootstrap_python_packages': [],
                'bootstrap_scripts': [],
                'conf_paths': None,
                'ec2_core_instance_bid_price': None,
                'ec2_core_instance_type': None,
                'ec2_instance_type': None,
                'ec2_key_pair': None,
                'ec2_master_instance_bid_price': None,
                'ec2_master_instance_type': None,
                'ec2_task_instance_bid_price': None,
                'ec2_task_instance_type': None,
                'emr_api_params': {},
                'emr_endpoint': None,
                'emr_job_flow_pool_name': None,
                'emr_tags': {},
                'enable_emr_debugging': None,
                'iam_endpoint': None,
                'iam_instance_profile': None,
                'iam_service_role': None,
                'label': None,
                'mins_to_end_of_hour': None,
                'max_hours_idle': None,
                'num_ec2_core_instances': None,
                'num_ec2_instances': None,
                'num_ec2_task_instances': None,
                'owner': None,
                'pool_emr_job_flows': None,
                'release_label': None,
                's3_endpoint': None,
                's3_log_uri': None,
                's3_scratch_uri': None,
                's3_sync_wait_time': None,
                's3_tmp_dir': None,
                's3_upload_part_size': None,
                'visible_to_all_users': None,
            })
    def test_runner_kwargs(self):
        self.monkey_patch_argv('--quiet')

        self.assertEqual(
            runner_kwargs(),
            {'additional_emr_info': None,
             'ami_version': None,
             'aws_availability_zone': None,
             'aws_region': None,
             'bootstrap': None,
             'bootstrap_actions': [],
             'bootstrap_cmds': [],
             'bootstrap_files': [],
             'bootstrap_mrjob': None,
             'bootstrap_python': None,
             'bootstrap_python_packages': [],
             'bootstrap_scripts': [],
             'conf_paths': None,
             'ec2_core_instance_bid_price': None,
             'ec2_core_instance_type': None,
             'ec2_instance_type': None,
             'ec2_key_pair': None,
             'ec2_master_instance_bid_price': None,
             'ec2_master_instance_type': None,
             'ec2_task_instance_bid_price': None,
             'ec2_task_instance_type': None,
             'emr_api_params': {},
             'emr_endpoint': None,
             'emr_job_flow_pool_name': None,
             'emr_tags': {},
             'enable_emr_debugging': None,
             'iam_endpoint': None,
             'iam_instance_profile': None,
             'iam_service_role': None,
             'label': None,
             'mins_to_end_of_hour': None,
             'max_hours_idle': None,
             'num_ec2_core_instances': None,
             'num_ec2_instances': None,
             'num_ec2_task_instances': None,
             'owner': None,
             'pool_emr_job_flows': None,
             'release_label': None,
             's3_endpoint': None,
             's3_log_uri': None,
             's3_scratch_uri': None,
             's3_sync_wait_time': None,
             's3_tmp_dir': None,
             's3_upload_part_size': None,
             'visible_to_all_users': None,
             })
Exemple #4
0
 def test_runner_kwargs(self):
     self.monkey_patch_argv('--quiet')
     self.assertEqual(
         runner_kwargs(), {
             'additional_emr_info': None,
             'ami_version': None,
             'aws_availability_zone': None,
             'aws_region': None,
             'bootstrap_actions': [],
             'bootstrap_cmds': [],
             'bootstrap_files': [],
             'bootstrap_mrjob': None,
             'bootstrap_python_packages': [],
             'conf_paths': None,
             'ec2_core_instance_bid_price': None,
             'ec2_core_instance_type': None,
             'ec2_instance_type': None,
             'ec2_key_pair': None,
             'ec2_master_instance_bid_price': None,
             'ec2_master_instance_type': None,
             'ec2_task_instance_bid_price': None,
             'ec2_task_instance_type': None,
             'emr_endpoint': None,
             'emr_job_flow_pool_name': None,
             'enable_emr_debugging': None,
             'hadoop_version': None,
             'label': None,
             'mins_to_end_of_hour': None,
             'max_hours_idle': None,
             'num_ec2_core_instances': None,
             'num_ec2_instances': None,
             'num_ec2_task_instances': None,
             'owner': None,
             'pool_emr_job_flows': None,
             's3_endpoint': None,
             's3_log_uri': None,
             's3_scratch_uri': None,
             's3_sync_wait_time': None
         })