Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str NameLoad NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str keyword NameLoad keyword NameLoad keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str keyword NameLoad keyword Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Str keyword NameLoad keyword NameLoad keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A os N/A tempfile N/A uuid N/A mock N/A testtools mistralclient.api client N/A AUTH_HTTP_URL http://localhost:35357/v3 N/A AUTH_HTTPS_URL N/A N/A AUTH_HTTP_URL replace http https N/A MISTRAL_HTTP_URL http://localhost:8989/v2 N/A MISTRAL_HTTPS_URL N/A N/A MISTRAL_HTTP_URL replace http https BaseClientTests N/A N/A testtools TestCase N/A test_mistral_url_default N/A N/A self mock keystone_client_mock N/A N/A N/A keystone_client_instance N/A keystone_client_mock return_value N/A N/A keystone_client_instance auth_token N/A str N/A N/A uuid uuid4 N/A N/A keystone_client_instance project_id N/A str N/A N/A uuid uuid4 N/A N/A keystone_client_instance user_id N/A str N/A N/A uuid uuid4 N/A expected_args N/A MISTRAL_HTTP_URL N/A keystone_client_instance auth_token N/A keystone_client_instance project_id N/A keystone_client_instance user_id N/A expected_kwargs N/A cacert insecure None False N/A N/A N/A client client username mistral project_name mistral auth_url AUTH_HTTP_URL N/A N/A N/A self assertTrue N/A mock called N/A N/A N/A self assertEqual N/A N/A mock call_args N/A 0 expected_args N/A N/A N/A self assertDictEqual N/A N/A mock call_args N/A 1 expected_kwargs N/A N/A N/A mock patch keystoneclient.v3.client.Client N/A N/A mock patch mistralclient.api.httpclient.HTTPClient test_mistral_url_https_insecure N/A N/A self mock keystone_client_mock N/A N/A N/A keystone_client_instance N/A keystone_client_mock return_value N/A N/A keystone_client_instance auth_token N/A str N/A N/A uuid uuid4 N/A N/A keystone_client_instance project_id N/A str N/A N/A uuid uuid4 N/A N/A keystone_client_instance user_id N/A str N/A N/A uuid uuid4 N/A expected_args N/A MISTRAL_HTTPS_URL N/A keystone_client_instance auth_token N/A keystone_client_instance project_id N/A keystone_client_instance user_id N/A expected_kwargs N/A cacert insecure None True N/A N/A N/A client client mistral_url MISTRAL_HTTPS_URL username mistral project_name mistral auth_url AUTH_HTTP_URL cacert None insecure True N/A N/A N/A self assertTrue N/A mock called N/A N/A N/A self assertEqual N/A N/A mock call_args N/A 0 expected_args N/A N/A N/A self assertDictEqual N/A N/A mock call_args N/A 1 expected_kwargs N/A N/A N/A mock patch keystoneclient.v3.client.Client N/A N/A mock patch mistralclient.api.httpclient.HTTPClient test_mistral_url_https_secure N/A N/A self mock keystone_client_mock N/A N/A N/A N/A fd path N/A N/A tempfile mkstemp suffix .pem N/A keystone_client_instance N/A keystone_client_mock return_value N/A N/A keystone_client_instance auth_token N/A str N/A N/A uuid uuid4 N/A N/A keystone_client_instance project_id N/A str N/A N/A uuid uuid4 N/A N/A keystone_client_instance user_id N/A str N/A N/A uuid uuid4 N/A expected_args N/A MISTRAL_HTTPS_URL N/A keystone_client_instance auth_token N/A keystone_client_instance project_id N/A keystone_client_instance user_id N/A expected_kwargs N/A cacert insecure path False N/A N/A N/A N/A N/A client client mistral_url MISTRAL_HTTPS_URL username mistral project_name mistral auth_url AUTH_HTTP_URL cacert path insecure False N/A N/A N/A N/A os close fd N/A N/A N/A os unlink path N/A N/A N/A self assertTrue N/A mock called N/A N/A N/A self assertEqual N/A N/A mock call_args N/A 0 expected_args N/A N/A N/A self assertDictEqual N/A N/A mock call_args N/A 1 expected_kwargs N/A N/A N/A mock patch keystoneclient.v3.client.Client N/A N/A mock patch mistralclient.api.httpclient.HTTPClient test_mistral_url_https_bad_cacert N/A N/A self keystone_client_mock N/A N/A N/A keystone_client_instance N/A keystone_client_mock return_value N/A N/A keystone_client_instance auth_token N/A str N/A N/A uuid uuid4 N/A N/A keystone_client_instance project_id N/A str N/A N/A uuid uuid4 N/A N/A keystone_client_instance user_id N/A str N/A N/A uuid uuid4 N/A N/A N/A self assertRaises ValueError N/A client client mistral_url MISTRAL_HTTPS_URL username mistral project_name mistral auth_url AUTH_HTTP_URL cacert /path/to/foobar insecure False N/A N/A N/A mock patch keystoneclient.v3.client.Client test_mistral_url_https_bad_insecure N/A N/A self keystone_client_mock log_warning_mock N/A N/A N/A N/A fd path N/A N/A tempfile mkstemp suffix .pem N/A keystone_client_instance N/A keystone_client_mock return_value N/A N/A keystone_client_instance auth_token N/A str N/A N/A uuid uuid4 N/A N/A keystone_client_instance project_id N/A str N/A N/A uuid uuid4 N/A N/A keystone_client_instance user_id N/A str N/A N/A uuid uuid4 N/A N/A N/A N/A N/A client client mistral_url MISTRAL_HTTPS_URL username mistral project_name mistral auth_url AUTH_HTTP_URL cacert path insecure True N/A N/A N/A N/A os close fd N/A N/A N/A os unlink path N/A N/A N/A self assertTrue N/A log_warning_mock called N/A N/A N/A mock patch logging.Logger.warning N/A N/A mock patch keystoneclient.v3.client.Client N/A