This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.1 docs or all OpenStack docs too.

The nova.tests.test_log Module

class nova.tests.test_log.LogHandlerTestCase(methodName='runTest')

Bases: nova.test.TestCase

test_log_path_logdir()
test_log_path_logfile()
test_log_path_logfile_overrides_logdir()
test_log_path_none()
class nova.tests.test_log.NovaFormatterTestCase(methodName='runTest')

Bases: nova.test.TestCase

setUp()
tearDown()
test_contextualized_log()
test_debugging_log()
test_uncontextualized_log()
class nova.tests.test_log.NovaLoggerTestCase(methodName='runTest')

Bases: nova.test.TestCase

setUp()
test_child_log_has_level_of_parent_flag()
test_has_level_from_flags()
class nova.tests.test_log.RootLoggerTestCase(methodName='runTest')

Bases: nova.test.TestCase

setUp()
test_handlers_have_nova_formatter()
test_handles_context_kwarg()
test_is_nova_instance()
test_module_level_audit_handles_context_arg()
test_module_level_methods_handle_context_arg()
test_name_is_nova()
test_will_be_verbose_if_verbose_flag_set()
test_will_not_be_verbose_if_verbose_flag_not_set()