Module Expr Str Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict decorator_list Call AttributeLoad NameLoad attr Str ListLoad FunctionDef arguments args NameParam defaults body Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Num Assign AttributeStore SubscriptLoad NameLoad Index Num attr Dict Str Str With Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Num Assign AttributeStore SubscriptLoad NameLoad Index Num attr Dict Str Num Assign AttributeStore SubscriptLoad NameLoad Index Num attr Dict Str Str Num NameLoad Assign AttributeStore SubscriptLoad NameLoad Index Num attr NameLoad Assign AttributeStore SubscriptLoad NameLoad Index Num attr Dict Str Str With Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Str Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad Call NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad Call NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad Call NameLoad attr attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A 
    SoftLayer.tests.config_tests
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    :license: MIT, see LICENSE for more details.
 N/A mock SoftLayer config SoftLayer testing TestGetClientSettings N/A N/A testing TestCase N/A test_no_resolvers N/A N/A self N/A N/A N/A result N/A N/A config get_client_settings N/A N/A N/A self assertEqual result N/A N/A N/A N/A mock patch SoftLayer.config.SETTING_RESOLVERS N/A test_resolve_one N/A N/A self N/A N/A N/A resolvers N/A N/A N/A mock Mock N/A i N/A range 1 N/A N/A N/A resolvers N/A 0 return_value N/A auth AUTH HANDLER N/A N/A N/A mock patch SoftLayer.config.SETTING_RESOLVERS resolvers N/A N/A result N/A N/A config get_client_settings N/A N/A N/A self assertEqual result N/A auth AUTH HANDLER N/A test_inherit N/A N/A self N/A N/A N/A resolvers N/A N/A N/A mock Mock N/A i N/A range 4 N/A N/A N/A resolvers N/A 0 return_value N/A timeout 20 N/A N/A N/A resolvers N/A 1 return_value N/A timeout auth 10 None N/A N/A N/A resolvers N/A 2 return_value None N/A N/A N/A resolvers N/A 3 return_value N/A auth AUTH HANDLER N/A N/A N/A mock patch SoftLayer.config.SETTING_RESOLVERS resolvers N/A N/A result N/A N/A config get_client_settings N/A N/A N/A self assertEqual result N/A auth timeout AUTH HANDLER 20 N/A N/A TestGetClientSettingsArgs N/A N/A testing TestCase N/A test_username_api_key N/A N/A self N/A N/A N/A result N/A N/A config get_client_settings_args username username api_key api_key endpoint_url http://endpoint/ timeout 10 proxy https://localhost:3128 N/A N/A N/A self assertEqual N/A result N/A endpoint_url http://endpoint/ N/A N/A N/A self assertEqual N/A result N/A timeout 10 N/A N/A N/A self assertEqual N/A result N/A username username N/A N/A N/A self assertEqual N/A result N/A api_key api_key N/A N/A N/A self assertEqual N/A result N/A proxy https://localhost:3128 N/A N/A TestGetClientSettingsEnv N/A N/A testing TestCase N/A test_username_api_key N/A N/A self N/A N/A N/A result N/A N/A config get_client_settings_env N/A N/A N/A self assertEqual N/A result N/A username username N/A N/A N/A self assertEqual N/A result N/A api_key api_key N/A N/A N/A N/A mock patch dict os.environ N/A SL_USERNAME SL_API_KEY https_proxy username api_key https://localhost:3128 N/A TestGetClientSettingsConfigFile N/A N/A testing TestCase N/A test_username_api_key N/A N/A self config_parser N/A N/A N/A result N/A N/A config get_client_settings_config_file N/A N/A N/A self assertEqual N/A result N/A endpoint_url N/A N/A N/A config_parser get N/A N/A N/A self assertEqual N/A result N/A timeout N/A N/A N/A config_parser getfloat N/A N/A N/A self assertEqual N/A result N/A proxy N/A N/A N/A config_parser get N/A N/A N/A self assertEqual N/A result N/A username N/A N/A N/A config_parser get N/A N/A N/A self assertEqual N/A result N/A api_key N/A N/A N/A config_parser get N/A N/A N/A mock patch six.moves.configparser.RawConfigParser test_no_section N/A N/A self config_parser N/A N/A N/A N/A N/A N/A config_parser has_section return_value False N/A result N/A N/A config get_client_settings_config_file N/A N/A N/A self assertIsNone result N/A N/A N/A mock patch six.moves.configparser.RawConfigParser test_config_file N/A N/A self config_parser N/A N/A N/A N/A N/A config get_client_settings_config_file config_file path/to/config N/A N/A N/A N/A N/A config_parser read assert_called_with N/A N/A mock ANY N/A mock ANY path/to/config N/A N/A N/A mock patch six.moves.configparser.RawConfigParser N/A