Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Num Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Dict Str Str ListLoad Str ListLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword ListLoad Str Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword ListLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str keyword Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Dict Str ListLoad Dict Str Str Str Str Assign AttributeStore AttributeLoad Call AttributeLoad NameLoad attr Str attr attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Dict Str Str ListLoad Str ListLoad Str Assign NameStore Dict Str Dict Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Str Str Str ListLoad Str NameLoad Num NameLoad ListLoad Str Str Dict Str Dict Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str ListLoad Str NameLoad Num Num Num NameLoad ListLoad Str Str Dict Str Dict Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr attr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr attr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword NameLoad keyword Num keyword Num keyword NameLoad keyword ListLoad Str Str keyword Num keyword Dict Str Dict Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Dict Str Dict Str Num keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str keyword Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict Str Dict Str ListLoad Dict Str Str Str Str Assign AttributeStore AttributeLoad Call AttributeLoad NameLoad attr Str attr attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Dict Str Dict Str Dict Str Str ListLoad Str ListLoad Str Assign NameStore Dict Str Dict Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Str Str Str Str ListLoad Str NameLoad Num NameLoad ListLoad Str Str Dict Str Dict Str Str NameLoad Dict Str Str Str Str Str Str Str Str Str Str Str ListLoad Str Num Num Num NameLoad ListLoad Str Str Dict Str Dict Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str ListLoad Str NameLoad Num Num Num NameLoad ListLoad Str Str Dict Str Dict Str Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword NameLoad keyword Num keyword Num keyword NameLoad keyword ListLoad Str Str keyword Num keyword Dict Str Dict Str Str keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Dict Str Dict Str Num keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str keyword Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Dict Str Str ListLoad Str ListLoad Str Assign NameStore Dict Str Dict Str Dict Str Str Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Num keyword Num keyword Num keyword Dict Str Dict Str Str decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str keyword Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword ListLoad Dict Str Str Str Num Dict Str Str Str Num Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr Call AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Dict Str ListLoad Dict Str Str Str Num Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr ListLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Dict Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr keyword Str keyword Str keyword Str keyword Str decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Dict Str Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str keyword Str FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr ListLoad Call AttributeLoad NameLoad attr keyword Dict Str Str keyword Str Call AttributeLoad NameLoad attr keyword Dict Str Str keyword Str Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword Dict Str Str keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr keyword Str keyword Str keyword Str keyword Str keyword Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr ListLoad Call AttributeLoad NameLoad attr keyword Dict Str Str keyword Str Call AttributeLoad NameLoad attr keyword Dict Str Str keyword Str Assign AttributeStore AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword Dict Str Str keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr keyword Str keyword Str keyword Str keyword Str keyword Dict Str Str decorator_list decorator_list
N/A N/A mock oslo_config cfg oslo_utils uuidutils saharaclient.api base sahara_base rally consts rally exceptions rally.plugins.openstack.scenarios.sahara utils tests.unit test N/A CONF N/A cfg CONF N/A SAHARA_UTILS rally.plugins.openstack.scenarios.sahara.utils SaharaScenarioTestCase N/A N/A test ScenarioTestCase N/A N/A patch_benchmark_utils False setUp N/A N/A self N/A N/A N/A N/A N/A N/A super SaharaScenarioTestCase self setUp N/A N/A N/A CONF set_override sahara_cluster_check_interval 0 benchmark enforce_type True N/A N/A N/A CONF set_override sahara_job_check_interval 0 benchmark enforce_type True N/A test_list_node_group_templates N/A N/A self N/A N/A N/A ngts N/A N/A N/A N/A N/A N/A N/A self clients sahara node_group_templates list return_value ngts N/A scenario N/A N/A utils SaharaScenario N/A self context N/A return_ngts_list N/A N/A scenario _list_node_group_templates N/A N/A N/A self assertEqual ngts return_ngts_list N/A N/A N/A self _test_atomic_action_timer N/A N/A scenario atomic_actions sahara.list_node_group_templates N/A test_create_node_group_templates N/A N/A self mock_sahara_consts mock_generate_random_name N/A N/A N/A scenario N/A N/A utils SaharaScenario N/A self context N/A mock_processes N/A test_plugin N/A test_version N/A master worker N/A p1 N/A p2 N/A N/A mock_sahara_consts NODE_PROCESSES mock_processes N/A N/A N/A scenario _create_master_node_group_template flavor_id test_flavor plugin_name test_plugin hadoop_version test_version N/A N/A N/A scenario _create_worker_node_group_template flavor_id test_flavor plugin_name test_plugin hadoop_version test_version N/A create_calls N/A N/A N/A mock call name random_name plugin_name test_plugin hadoop_version test_version flavor_id test_flavor node_processes N/A p1 N/A N/A mock call name random_name plugin_name test_plugin hadoop_version test_version flavor_id test_flavor node_processes N/A p2 N/A N/A N/A N/A N/A N/A N/A self clients sahara node_group_templates create assert_has_calls create_calls N/A N/A N/A self _test_atomic_action_timer N/A N/A scenario atomic_actions sahara.create_master_node_group_template N/A N/A N/A self _test_atomic_action_timer N/A N/A scenario atomic_actions sahara.create_worker_node_group_template N/A N/A N/A mock patch N/A SAHARA_UTILS .SaharaScenario.generate_random_name return_value random_name N/A N/A mock patch N/A SAHARA_UTILS .sahara_consts test_delete_node_group_templates N/A N/A self N/A N/A N/A scenario N/A N/A utils SaharaScenario N/A self context N/A ng N/A N/A mock MagicMock id 42 N/A N/A N/A scenario _delete_node_group_template ng N/A delete_mock N/A N/A N/A N/A self clients sahara node_group_templates delete N/A N/A N/A delete_mock assert_called_once_with 42 N/A N/A N/A self _test_atomic_action_timer N/A N/A scenario atomic_actions sahara.delete_node_group_template N/A test_launch_cluster N/A N/A self mock_sahara_consts mock_generate_random_name N/A N/A N/A N/A N/A N/A self context update N/A tenant N/A networks N/A N/A id router_id test_neutron_id test_router_id N/A N/A N/A N/A N/A self clients services values return_value N/A N/A N/A consts Service NEUTRON N/A scenario N/A N/A utils SaharaScenario context N/A self context N/A mock_processes N/A test_plugin N/A test_version N/A master worker N/A p1 N/A p2 N/A mock_configs N/A test_plugin N/A test_version N/A target config_name HDFS dfs.replication N/A floating_ip_pool_uuid N/A N/A uuidutils generate_uuid N/A node_groups N/A N/A name flavor_id node_processes floating_ip_pool count auto_security_group security_groups node_configs master-ng test_flavor_m N/A p1 floating_ip_pool_uuid 1 True N/A g1 g2 N/A HDFS N/A local_config local_value N/A name flavor_id node_processes floating_ip_pool volumes_per_node volumes_size count auto_security_group security_groups node_configs worker-ng test_flavor_w N/A p2 floating_ip_pool_uuid 5 10 42 True N/A g1 g2 N/A HDFS N/A local_config local_value N/A N/A mock_sahara_consts NODE_PROCESSES mock_processes N/A N/A mock_sahara_consts REPLICATION_CONFIGS mock_configs N/A N/A N/A N/A N/A N/A N/A self clients sahara clusters create return_value id test_cluster_id N/A N/A N/A N/A N/A N/A N/A self clients sahara clusters get return_value status active N/A N/A N/A scenario _launch_cluster plugin_name test_plugin hadoop_version test_version master_flavor_id test_flavor_m worker_flavor_id test_flavor_w image_id test_image floating_ip_pool floating_ip_pool_uuid volumes_per_node 5 volumes_size 10 auto_security_group True security_groups N/A g1 g2 workers_count 42 node_configs N/A HDFS N/A local_config local_value N/A N/A N/A N/A N/A N/A N/A self clients sahara clusters create assert_called_once_with name random_name plugin_name test_plugin hadoop_version test_version node_groups node_groups default_image_id test_image cluster_configs N/A HDFS N/A dfs.replication 3 net_id test_neutron_id anti_affinity None N/A N/A N/A self _test_atomic_action_timer N/A N/A scenario atomic_actions sahara.launch_cluster N/A N/A N/A mock patch N/A SAHARA_UTILS .SaharaScenario.generate_random_name return_value random_name N/A N/A mock patch N/A SAHARA_UTILS .sahara_consts test_launch_cluster_with_proxy N/A N/A self mock_sahara_consts mock_generate_random_name N/A N/A N/A context N/A tenant N/A networks N/A N/A id router_id test_neutron_id test_router_id N/A N/A N/A N/A N/A self clients services values return_value N/A N/A N/A consts Service NEUTRON N/A scenario N/A N/A utils SaharaScenario context context N/A mock_processes N/A test_plugin N/A test_version N/A master worker N/A p1 N/A p2 N/A mock_configs N/A test_plugin N/A test_version N/A target config_name HDFS dfs.replication N/A floating_ip_pool_uuid N/A N/A uuidutils generate_uuid N/A node_groups N/A N/A name flavor_id node_processes floating_ip_pool count auto_security_group security_groups node_configs is_proxy_gateway master-ng test_flavor_m N/A p1 floating_ip_pool_uuid 1 True N/A g1 g2 N/A HDFS N/A local_config local_value True N/A name flavor_id node_processes volumes_per_node volumes_size count auto_security_group security_groups node_configs worker-ng test_flavor_w N/A p2 5 10 40 True N/A g1 g2 N/A HDFS N/A local_config local_value N/A name flavor_id node_processes floating_ip_pool volumes_per_node volumes_size count auto_security_group security_groups node_configs is_proxy_gateway proxy-ng test_flavor_w N/A p2 floating_ip_pool_uuid 5 10 2 True N/A g1 g2 N/A HDFS N/A local_config local_value True N/A N/A mock_sahara_consts NODE_PROCESSES mock_processes N/A N/A mock_sahara_consts REPLICATION_CONFIGS mock_configs N/A N/A N/A N/A N/A N/A self clients sahara clusters create return_value N/A N/A mock MagicMock id test_cluster_id N/A N/A N/A N/A N/A N/A self clients sahara clusters get return_value N/A N/A mock MagicMock status active N/A N/A N/A scenario _launch_cluster plugin_name test_plugin hadoop_version test_version master_flavor_id test_flavor_m worker_flavor_id test_flavor_w image_id test_image floating_ip_pool floating_ip_pool_uuid volumes_per_node 5 volumes_size 10 auto_security_group True security_groups N/A g1 g2 workers_count 42 node_configs N/A HDFS N/A local_config local_value enable_proxy True N/A N/A N/A N/A N/A N/A N/A self clients sahara clusters create assert_called_once_with name random_name plugin_name test_plugin hadoop_version test_version node_groups node_groups default_image_id test_image cluster_configs N/A HDFS N/A dfs.replication 3 net_id test_neutron_id anti_affinity None N/A N/A N/A self _test_atomic_action_timer N/A N/A scenario atomic_actions sahara.launch_cluster N/A N/A N/A mock patch N/A SAHARA_UTILS .SaharaScenario.generate_random_name return_value random_name N/A N/A mock patch N/A SAHARA_UTILS .sahara_consts test_launch_cluster_error N/A N/A self mock_sahara_consts mock_generate_random_name N/A N/A N/A scenario N/A N/A utils SaharaScenario N/A self context N/A mock_processes N/A test_plugin N/A test_version N/A master worker N/A p1 N/A p2 N/A mock_configs N/A test_plugin N/A test_version N/A target config_name HDFS dfs.replication N/A N/A mock_sahara_consts NODE_PROCESSES mock_processes N/A N/A mock_sahara_consts REPLICATION_CONFIGS mock_configs N/A N/A N/A N/A N/A N/A self clients sahara clusters create return_value N/A N/A mock MagicMock id test_cluster_id N/A N/A N/A N/A N/A N/A self clients sahara clusters get return_value N/A N/A mock MagicMock status error N/A N/A N/A self assertRaises N/A exceptions GetResourceErrorStatus N/A scenario _launch_cluster plugin_name test_plugin hadoop_version test_version master_flavor_id test_flavor_m worker_flavor_id test_flavor_w image_id test_image floating_ip_pool test_pool volumes_per_node 5 volumes_size 10 workers_count 42 node_configs N/A HDFS N/A local_config local_value N/A N/A N/A mock patch N/A SAHARA_UTILS .SaharaScenario.generate_random_name return_value random_name N/A N/A mock patch N/A SAHARA_UTILS .sahara_consts test_scale_cluster N/A N/A self N/A N/A N/A scenario N/A N/A utils SaharaScenario N/A self context N/A cluster N/A N/A mock MagicMock id 42 node_groups N/A N/A name count random_master 1 N/A name count random_worker 41 N/A N/A N/A N/A N/A N/A self clients sahara clusters get return_value N/A N/A mock MagicMock id 42 status active N/A expected_scale_object N/A resize_node_groups N/A N/A name count random_worker 42 N/A N/A N/A scenario _scale_cluster cluster 1 N/A N/A N/A N/A N/A N/A N/A self clients sahara clusters scale assert_called_once_with 42 expected_scale_object N/A test_delete_cluster N/A N/A self N/A N/A N/A scenario N/A N/A utils SaharaScenario N/A self context N/A cluster N/A N/A mock MagicMock id 42 N/A N/A N/A N/A N/A N/A self clients sahara clusters get side_effect N/A cluster N/A N/A sahara_base APIException N/A N/A N/A scenario _delete_cluster cluster N/A delete_mock N/A N/A N/A N/A self clients sahara clusters delete N/A N/A N/A delete_mock assert_called_once_with 42 N/A cl_get_expected N/A N/A mock call 42 N/A N/A N/A N/A N/A N/A N/A self clients sahara clusters get assert_has_calls N/A cl_get_expected cl_get_expected N/A N/A N/A self _test_atomic_action_timer N/A N/A scenario atomic_actions sahara.delete_cluster N/A test_create_output_ds N/A N/A self mock_generate_random_name N/A N/A N/A N/A N/A N/A self context update N/A sahara N/A output_conf N/A output_type output_url_prefix hdfs hdfs://test_out/ N/A scenario N/A N/A utils SaharaScenario N/A self context N/A N/A N/A scenario _create_output_ds N/A N/A N/A N/A N/A N/A N/A self clients sahara data_sources create assert_called_once_with name 42 description data_source_type hdfs url hdfs://test_out/42 N/A N/A N/A mock patch N/A SAHARA_UTILS .SaharaScenario.generate_random_name return_value 42 test_create_output_ds_swift N/A N/A self mock_generate_random_name N/A N/A N/A N/A N/A N/A self context update N/A sahara N/A output_conf N/A output_type output_url_prefix swift swift://test_out/ N/A scenario N/A N/A utils SaharaScenario N/A self context N/A N/A N/A self assertRaises N/A exceptions RallyException N/A scenario _create_output_ds N/A N/A N/A mock patch N/A SAHARA_UTILS .SaharaScenario.generate_random_name return_value 42 test_run_job_execution N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self clients sahara job_executions get side_effect N/A N/A N/A mock MagicMock info N/A status pending id 42 N/A N/A mock MagicMock info N/A status SUCCESS id 42 N/A N/A N/A N/A N/A N/A self clients sahara job_executions create return_value N/A N/A mock MagicMock id 42 N/A scenario N/A N/A utils SaharaScenario N/A self context N/A N/A N/A scenario _run_job_execution job_id test_job_id cluster_id test_cluster_id input_id test_input_id output_id test_output_id configs N/A k v job_idx 0 N/A N/A N/A N/A N/A N/A N/A self clients sahara job_executions create assert_called_once_with job_id test_job_id cluster_id test_cluster_id input_id test_input_id output_id test_output_id configs N/A k v N/A je_get_expected N/A N/A mock call 42 N/A N/A N/A N/A N/A N/A N/A self clients sahara job_executions get assert_has_calls N/A je_get_expected je_get_expected N/A test_run_job_execution_fail N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self clients sahara job_executions get side_effect N/A N/A N/A mock MagicMock info N/A status pending id 42 N/A N/A mock MagicMock info N/A status killed id 42 N/A N/A N/A N/A N/A N/A self clients sahara job_executions create return_value N/A N/A mock MagicMock id 42 N/A scenario N/A N/A utils SaharaScenario N/A self context N/A N/A N/A self assertRaises N/A exceptions RallyException N/A scenario _run_job_execution job_id test_job_id cluster_id test_cluster_id input_id test_input_id output_id test_output_id configs N/A k v job_idx 0 N/A N/A N/A N/A N/A N/A N/A self clients sahara job_executions create assert_called_once_with job_id test_job_id cluster_id test_cluster_id input_id test_input_id output_id test_output_id configs N/A k v N/A N/A