magnumclient.tests.test_shell
Module¶magnumclient.tests.test_shell.
ParserTest
(*args, **kwargs)¶Bases: magnumclient.tests.utils.TestCase
setUp
()¶Hook method for setting up the test fixture before exercising it.
test_ambiguous_option
()¶magnumclient.tests.test_shell.
ShellTest
(*args, **kwargs)¶Bases: magnumclient.tests.utils.TestCase
AUTH_URL
= 'http://no.where/v2.0'¶setUp
()¶Hook method for setting up the test fixture before exercising it.
test_bash_completion
()¶test_help
()¶test_help_no_options
()¶test_help_on_subcommand
()¶test_help_unknown_command
()¶test_insecure
(mock_session, mock_bay_list)¶test_main_endpoint_internal
(mock_client)¶test_main_endpoint_public
(mock_client)¶test_main_env_os_cloud
(mock_client)¶test_main_env_region
()¶test_main_no_region
()¶test_main_noargs
()¶test_main_option_region
()¶test_main_os_cloud
(mock_client)¶test_no_auth_url
()¶test_no_password
()¶test_no_project_id
()¶test_no_project_name
()¶test_no_user_id
()¶test_no_username
()¶test_positive_non_zero_float
()¶test_service_type
(mock_client)¶magnumclient.tests.test_shell.
ShellTestKeystoneV3
(*args, **kwargs)¶Bases: magnumclient.tests.test_shell.ShellTest
AUTH_URL
= 'http://no.where/v3'¶make_env
(exclude=None, fake_env={'OS_AUTH_URL': 'http://no.where/v2.0', 'OS_PASSWORD': 'password', 'OS_PROJECT_NAME': 'project_name', 'OS_USERNAME': 'username'})¶register_keystone_discovery_fixture
(mreq)¶test_main_endpoint_public
(mock_client)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.