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_TENANT_NAME': 'tenant_name', 'OS_USERNAME': 'username', 'OS_PASSWORD': 'password', 'OS_AUTH_URL': 'http://no.where:5000/v2.0'})[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_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_token_auth(*args, **keywargs)[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]

Previous topic

The ironicclient.tests.unit.test_import Module

Next topic

The ironicclient.tests.unit.utils Module

Project Source

This Page