Test class for console_utils driver module.
-
class ironic.tests.unit.drivers.modules.test_console_utils.ConsoleUtilsTestCase(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp()[source]
-
test__ensure_console_pid_dir_exists(*args, **keywargs)[source]
-
test__ensure_console_pid_dir_exists_fail(*args, **keywargs)[source]
-
test__get_console_pid(*args, **keywargs)[source]
-
test__get_console_pid_dir()[source]
-
test__get_console_pid_dir_tempdir()[source]
-
test__get_console_pid_file(*args, **keywargs)[source]
-
test__get_console_pid_file_not_found()[source]
-
test__get_console_pid_not_a_num(*args, **keywargs)[source]
-
test__stop_console(*args, **keywargs)[source]
-
test__stop_console_exception(*args, **keywargs)[source]
-
test__stop_console_nopid(*args, **keywargs)[source]
-
test__stop_console_shellinabox_not_running(*args, **keywargs)[source]
-
test_get_shellinabox_console_https_url()[source]
-
test_get_shellinabox_console_url()[source]
-
test_get_socat_console_url_tcp()[source]
-
test_get_socat_console_url_tcp6()[source]
-
test_make_persistent_password_file()[source]
-
test_make_persistent_password_file_fail(*args, **keywargs)[source]
-
test_start_shellinabox_console(*args, **keywargs)[source]
-
test_start_shellinabox_console_fail(*args, **keywargs)[source]
-
test_start_shellinabox_console_fail_no_pid(*args, **keywargs)[source]
-
test_start_shellinabox_console_fail_nopiddir(*args, **keywargs)[source]
-
test_start_shellinabox_console_nopid(*args, **keywargs)[source]
-
test_start_socat_console(*args, **keywargs)[source]
-
test_start_socat_console_fail(*args, **keywargs)[source]
-
test_start_socat_console_fail_nopiddir(*args, **keywargs)[source]
-
test_start_socat_console_nopid(*args, **keywargs)[source]
-
test_stop_shellinabox_console(*args, **keywargs)[source]
-
test_stop_shellinabox_console_fail_nopid(*args, **keywargs)[source]
-
test_stop_socat_console(*args, **keywargs)[source]
-
test_stop_socat_console_fail_nopid(*args, **keywargs)[source]