Module Import alias ImportFrom alias ImportFrom alias Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad NameLoad Dict Str Str Str Call NameLoad NameLoad Call NameLoad NameLoad Dict Str Str For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListComp Dict Str Str Str NameLoad NameLoad Str comprehension NameStore Call NameLoad AttributeLoad NameLoad attr comprehension NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Str Dict Str Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Dict Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword ListLoad Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Str Dict Str Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Dict Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list
N/A N/A mock rally.plugins.openstack.context.sahara sahara_output_data_sources tests.unit test N/A CTX rally.plugins.openstack.context.sahara FakeDict N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A N/A SaharaOutputDataSourcesTestCase N/A N/A test ScenarioTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super SaharaOutputDataSourcesTestCase self setUp N/A fake_dict N/A FakeDict N/A N/A N/A fake_dict __dict__ N/A username user N/A N/A N/A fake_dict __dict__ N/A password passwd N/A N/A self tenants_num 2 N/A N/A self users_per_tenant 2 N/A N/A self users N/A N/A self tenants_num N/A self users_per_tenant N/A N/A self task N/A N/A mock MagicMock N/A N/A self tenants N/A N/A N/A self users_key N/A N/A i N/A range N/A self tenants_num N/A N/A N/A N/A self tenants N/A N/A str i N/A id name sahara N/A str i N/A str i N/A image 42 N/A j N/A range N/A self users_per_tenant N/A N/A N/A N/A N/A self users_key append N/A id tenant_id credential N/A %s_%s N/A N/A str i N/A str j N/A str i fake_dict N/A N/A self user_key N/A N/A id tenant_id credential i j credential N/A j N/A range N/A self tenants_num N/A i N/A range N/A self users_per_tenant N/A N/A N/A N/A self context update N/A config admin task users tenants N/A users sahara_output_data_sources N/A tenants users_per_tenant N/A self tenants_num N/A self users_per_tenant N/A output_type output_url_prefix hdfs hdfs://test_host/ N/A credential N/A N/A mock MagicMock N/A N/A mock MagicMock N/A self users_key N/A self tenants N/A check_setup N/A N/A self N/A N/A N/A context N/A N/A N/A N/A sahara_output_data_sources SaharaOutputDataSources context N/A sahara N/A output_conf N/A N/A N/A self assertIsNotNone N/A N/A context get output_type N/A N/A N/A self assertIsNotNone N/A N/A context get output_url_prefix N/A test_setup_and_cleanup_hdfs N/A N/A self mock_osclients mock_cleanup N/A N/A N/A mock_sahara N/A N/A N/A N/A mock_osclients Clients N/A N/A mock MagicMock sahara N/A N/A N/A N/A mock_sahara data_sources create return_value N/A N/A mock MagicMock id 42 N/A sahara_ctx N/A N/A sahara_output_data_sources SaharaOutputDataSources N/A self context N/A N/A sahara_ctx generate_random_name N/A N/A mock Mock N/A output_ds_crete_calls N/A N/A i N/A range N/A self tenants_num N/A N/A N/A N/A output_ds_crete_calls append N/A N/A mock call name N/A N/A sahara_ctx generate_random_name return_value description data_source_type hdfs url hdfs://test_host/ N/A N/A N/A sahara_ctx setup N/A N/A N/A N/A N/A mock_sahara data_sources create assert_has_calls output_ds_crete_calls N/A N/A N/A sahara_ctx cleanup N/A N/A N/A mock_cleanup assert_called_once_with names N/A sahara.data_sources users N/A N/A self context N/A users N/A N/A N/A mock patch N/A %s.sahara_output_data_sources.resource_manager.cleanup CTX N/A N/A mock patch N/A %s.sahara_output_data_sources.osclients CTX test_setup_inputs_swift N/A N/A self mock_osclients N/A N/A N/A mock_sahara N/A N/A N/A N/A mock_osclients Clients N/A N/A mock MagicMock sahara N/A N/A N/A N/A self context update N/A config admin task users tenants N/A users sahara_output_data_sources N/A tenants users_per_tenant N/A self tenants_num N/A self users_per_tenant N/A output_type output_url_prefix swift rally N/A credential N/A N/A mock MagicMock N/A N/A mock MagicMock N/A self users_key N/A self tenants N/A sahara_ctx N/A N/A sahara_output_data_sources SaharaOutputDataSources N/A self context N/A N/A sahara_ctx generate_random_name N/A N/A mock Mock return_value random_name N/A output_ds_crete_calls N/A N/A i N/A range N/A self tenants_num N/A N/A N/A N/A output_ds_crete_calls append N/A N/A mock call name random_name description data_source_type swift url swift://random_name.sahara/ credential_user user credential_pass passwd N/A N/A N/A sahara_ctx setup N/A N/A N/A N/A N/A mock_sahara data_sources create assert_has_calls output_ds_crete_calls N/A N/A N/A sahara_ctx cleanup N/A N/A N/A mock patch N/A %s.sahara_output_data_sources.osclients CTX N/A