Module Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Dict Str Str ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Dict Str Str Str Str 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 AttributeStore NameLoad attr Dict Str Str Str Str decorator_list decorator_list
N/A N/A six barbicanclient client barbicanclient barbican barb barbicanclient.tests keystone_client_fixtures barbicanclient.tests test_client barbicanclient.barbican Barbican WhenTestingBarbicanCLI N/A N/A test_client BaseEntityResource N/A setUp N/A N/A self N/A N/A N/A N/A N/A self _setUp barbican N/A N/A self captured_stdout N/A N/A six StringIO N/A N/A self captured_stderr N/A N/A six StringIO N/A N/A self barbican N/A Barbican stdout N/A self captured_stdout stderr N/A self captured_stderr N/A N/A self parser N/A N/A N/A self barbican build_option_parser desc vers N/A assert_client_raises N/A N/A self args message N/A N/A N/A N/A argv remainder N/A N/A N/A self parser parse_known_args N/A N/A args split N/A e N/A N/A self assertRaises Exception N/A N/A self barbican create_client argv N/A N/A N/A self assertIn message N/A str e N/A create_and_assert_client N/A N/A self args N/A N/A N/A N/A argv remainder N/A N/A N/A self parser parse_known_args N/A N/A args split N/A client N/A N/A N/A self barbican create_client argv N/A N/A N/A self assertIsNotNone client N/A client N/A test_should_show_usage_with_help_flag N/A N/A self N/A N/A N/A e N/A N/A self assertRaises SystemExit N/A N/A self barbican run N/A -h N/A N/A N/A self assertEqual 0 N/A e code N/A N/A N/A self assertIn usage N/A N/A N/A self captured_stdout getvalue N/A test_should_show_usage_with_no_args N/A N/A self N/A N/A N/A exit_code N/A N/A N/A self barbican run N/A N/A N/A N/A self assertEquals 1 exit_code N/A N/A N/A self assertIn usage N/A N/A N/A self captured_stderr getvalue N/A test_should_error_if_noauth_and_authurl_both_specified N/A N/A self N/A N/A N/A args --no-auth --os-auth-url http://localhost:5000/v3 N/A message ERROR: argument --os-auth-url/-A: not allowed with argument --no-auth/-N N/A N/A N/A self assert_client_raises args message N/A _expect_error_with_invalid_noauth_args N/A N/A self args N/A N/A N/A expected_err_msg ERROR: please specify --endpoint and --os-project-id (or --os-tenant-id) N/A N/A N/A self assert_client_raises args expected_err_msg N/A test_should_error_if_noauth_and_missing_endpoint_tenantid_args N/A N/A self N/A N/A N/A N/A N/A self _expect_error_with_invalid_noauth_args --no-auth secret list N/A N/A N/A self _expect_error_with_invalid_noauth_args --no-auth --endpoint http://xyz secret list N/A N/A N/A self _expect_error_with_invalid_noauth_args --no-auth --os-tenant-id 123 secret list N/A N/A N/A self _expect_error_with_invalid_noauth_args --no-auth --os-project-id 123 secret list N/A test_should_succeed_if_noauth_with_valid_args_specified N/A N/A self N/A N/A N/A args N/A N/A --no-auth --endpoint {0} --os-tenant-id {1}secret list format N/A self endpoint N/A self project_id N/A list_secrets_url N/A N/A {0}/v1/secrets format N/A self endpoint N/A N/A N/A N/A self responses get list_secrets_url json N/A secrets total N/A 0 N/A client N/A N/A self create_and_assert_client args N/A secret_list N/A N/A N/A client secrets list N/A N/A N/A self assertTrue N/A N/A N/A self responses _adapter called N/A N/A N/A self assertEqual 1 N/A N/A N/A self responses _adapter call_count N/A N/A N/A self assertEqual N/A secret_list N/A test_should_error_if_required_keystone_auth_arguments_are_missing N/A N/A self N/A N/A N/A expected_error_msg ERROR: please specify the following --os-project-id or (--os-project-name and --os-project-domain-name) or  (--os-project-name and --os-project-domain-id) N/A N/A N/A self assert_client_raises --os-auth-url http://localhost:35357/v2.0 secret list expected_error_msg N/A N/A N/A self assert_client_raises --os-auth-url http://localhost:35357/v2.0 --os-username barbican --os-password barbican secret list expected_error_msg N/A test_check_auth_arguments_v2 N/A N/A self N/A N/A N/A args --os-username 'bob' --os-password 'jan' --os-auth-url 'boop' --os-tenant-id 123 --os-identity-api-version '2.0' N/A N/A argv remainder N/A N/A N/A self parser parse_known_args N/A N/A args split N/A api_version N/A argv os_identity_api_version N/A barbican N/A Barbican N/A response N/A N/A barbican check_auth_arguments argv api_version N/A N/A N/A self assertEqual True response N/A test_should_fail_check_auth_arguments_v2 N/A N/A self N/A N/A N/A args --os-username bob --os-password jan --os-auth-url boop --os-identity-api-version 2.0 N/A message ERROR: please specify --os-tenant-id or --os-tenant-name N/A N/A argv remainder N/A N/A N/A self parser parse_known_args N/A N/A args split N/A api_version N/A argv os_identity_api_version N/A e N/A N/A self assertRaises Exception N/A N/A self barbican check_auth_arguments argv api_version True N/A N/A N/A self assertIn message N/A str e N/A test_should_fail_create_client_with_no_auth_url N/A N/A self N/A N/A N/A args --os-auth-token 1234567890 --os-tenant-id 123 N/A message ERROR: please specify --os-auth-url N/A N/A argv remainder N/A N/A N/A self parser parse_known_args N/A N/A args split N/A e N/A N/A self assertRaises Exception N/A N/A self barbican create_client argv N/A N/A N/A self assertIn message N/A str e N/A test_should_fail_missing_credentials N/A N/A self N/A N/A N/A message ERROR: please specify authentication credentials N/A args N/A N/A argv remainder N/A N/A N/A self parser parse_known_args N/A N/A args split N/A e N/A N/A self assertRaises Exception N/A N/A self barbican create_client argv N/A N/A N/A self assertIn message N/A str e N/A test_main N/A N/A self N/A N/A N/A args N/A response N/A N/A barb main args N/A N/A N/A self assertEqual 1 response N/A test_default_endpoint_filter_kwargs_set_correctly N/A N/A self N/A N/A N/A auth_args --no-auth --endpoint http://barbican_endpoint:9311/v1 --os-project-id project1 N/A N/A argv remainder N/A N/A N/A self parser parse_known_args N/A N/A auth_args split N/A barbican_client N/A N/A N/A self barbican create_client argv N/A httpclient N/A N/A barbican_client secrets _api N/A N/A N/A self assertEqual N/A client _DEFAULT_SERVICE_INTERFACE N/A httpclient interface N/A N/A N/A self assertEqual N/A client _DEFAULT_SERVICE_TYPE N/A httpclient service_type N/A N/A N/A self assertEqual N/A client _DEFAULT_API_VERSION N/A httpclient version N/A N/A N/A self assertIsNone N/A httpclient service_name N/A test_endpoint_filter_kwargs_set_correctly N/A N/A self N/A N/A testtools.content text_content N/A auth_args --no-auth --endpoint http://barbican_endpoint:9311/v1 --os-project-id project1 N/A endpoint_filter_args --interface private --service-type custom-type --service-name Burrbican --region-name RegionTwo --barbican-api-version v2 N/A args N/A N/A auth_args endpoint_filter_args N/A N/A argv remainder N/A N/A N/A self parser parse_known_args N/A N/A args split N/A barbican_client N/A N/A N/A self barbican create_client argv N/A httpclient N/A N/A barbican_client secrets _api N/A N/A N/A self assertEqual private N/A httpclient interface N/A N/A N/A self assertEqual custom-type N/A httpclient service_type N/A N/A N/A self assertEqual Burrbican N/A httpclient service_name N/A N/A N/A self assertEqual RegionTwo N/A httpclient region_name N/A N/A N/A self assertEqual v2 N/A httpclient version N/A N/A TestBarbicanWithKeystonePasswordAuth N/A N/A keystone_client_fixtures KeystoneClientFixture N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestBarbicanWithKeystonePasswordAuth self setUp N/A N/A self test_arguments N/A --os-username --os-password some_user some_pass N/A N/A TestBarbicanWithKeystoneTokenAuth N/A N/A keystone_client_fixtures KeystoneClientFixture N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestBarbicanWithKeystoneTokenAuth self setUp N/A N/A self test_arguments N/A --os-auth-token --os-project-id some_token some_project_id N/A N/A