The magnumclient.tests.test_shell Module

class magnumclient.tests.test_shell.ParserTest(*args, **kwargs)

Bases: magnumclient.tests.utils.TestCase

setUp()
test_ambiguous_option()
class magnumclient.tests.test_shell.ShellTest(*args, **kwargs)

Bases: magnumclient.tests.utils.TestCase

AUTH_URL = 'http://no.where/v2.0'
setUp()
test_bash_completion()
test_help()
test_help_no_options()
test_help_on_subcommand()
test_help_unknown_command()
test_insecure(*args, **keywargs)
test_main_endpoint_internal(*args, **keywargs)
test_main_endpoint_public(*args, **keywargs)
test_main_env_os_cloud(*args, **keywargs)
test_main_env_region()
test_main_no_region()
test_main_noargs(*args, **keywargs)
test_main_option_region()
test_main_os_cloud(*args, **keywargs)
test_no_auth_url()
test_no_project_id()
test_no_project_name()
test_no_user_id()
test_no_username()
test_service_type(*args, **keywargs)
class 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_PASSWORD': 'password', 'OS_PROJECT_NAME': 'project_name', 'OS_USERNAME': 'username', 'OS_AUTH_URL': 'http://no.where/v2.0'})
register_keystone_discovery_fixture(mreq)
test_main_endpoint_public(*args, **keywargs)