The ironicclient.tests.unit.test_shell Module

The ironicclient.tests.unit.test_shell Module

class ironicclient.tests.unit.test_shell.ShellParserTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.test_shell.TestCase

test_deprecated_defaults()[source]
class ironicclient.tests.unit.test_shell.ShellTest(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.utils.BaseTestCase

make_env(exclude=None, environ_dict={'OS_PASSWORD': 'password', 'OS_AUTH_URL': 'http://no.where:5000/v2.0', 'OS_USERNAME': 'username', 'OS_PROJECT_NAME': 'project_name'})[source]
re_options = 24
setUp()[source]
shell(argstr)[source]
test_auth_param()[source]
test_bash_completion()[source]
test_help()[source]
test_help_on_subcommand()[source]
test_help_unknown_command()[source]
test_invalid_ironic_api_version()[source]
test_ironic_api_version()[source]
test_no_password_no_tty(*args, **keywargs)[source]
test_password_prompted(*args, **keywargs)[source]
test_password_prompted_ctrlD(*args, **keywargs)[source]
test_required_args_on_node_create_help()[source]
test_required_args_on_port_create_help()[source]
test_token_auth(*args, **keywargs)[source]
test_warning_on_no_version()[source]
class ironicclient.tests.unit.test_shell.ShellTestNoMox(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.test_shell.TestCase

setUp()[source]
shell(argstr)[source]
test_node_list(*args, **kwargs)[source]
class ironicclient.tests.unit.test_shell.ShellTestNoMoxV3(*args, **kwargs)[source]

Bases: ironicclient.tests.unit.test_shell.ShellTestNoMox

class ironicclient.tests.unit.test_shell.TestCase(*args, **kwargs)[source]

Bases: testtools.testcase.TestCase

assertRegexpMatches(text, expected_regexp, msg=None)[source]

Fail the test unless the text matches the regular expression.

register_keystone_auth_fixture(request_mocker)[source]
register_keystone_v2_token_fixture(request_mocker)[source]
register_keystone_v3_token_fixture(request_mocker)[source]
set_fake_env(fake_env)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.