This Page

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

The nova.tests.test_exception Module

class nova.tests.test_exception.ApiErrorTestCase(methodName='runTest')

Bases: nova.test.TestCase

test_return_valid_error()
class nova.tests.test_exception.FakeNotifier

Bases: object

Acts like the nova.notifier.api module.

notify(publisher, event, priority, payload)
class nova.tests.test_exception.WrapExceptionTestCase(methodName='runTest')

Bases: nova.test.TestCase

test_wrap_exception_good_return()
test_wrap_exception_throws_error()
test_wrap_exception_throws_exception()
test_wrap_exception_with_notifier()
test_wrap_exception_with_notifier_defaults()
nova.tests.test_exception.bad_function_error()
nova.tests.test_exception.bad_function_exception()
nova.tests.test_exception.good_function()