Tests for Consoleauth Code.
-
class CellsConsoleauthTestCase(*args, **kwargs)
Bases: nova.tests.consoleauth.test_consoleauth.ConsoleauthTestCase
Test Case for consoleauth w/ cells enabled.
-
setUp()
-
class ConsoleauthTestCase(*args, **kwargs)
Bases: nova.test.TestCase
Test Case for consoleauth.
-
setUp()
-
test_console_no_instance_uuid()
-
test_delete_tokens_for_instance()
-
test_get_backdoor_port()
-
test_multiple_tokens_for_instance()
-
test_tokens_expire()
-
test_wrong_token_has_port()
-
class ControlauthMemcacheEncodingTestCase(*args, **kwargs)
Bases: nova.test.TestCase
-
setUp()
-
test_authorize_console_encoding()
-
test_check_token_encoding()
-
test_delete_tokens_for_instance_encoding()