Previous topic

The cinder.tests.test_deprecated Module

Next topic

The cinder.tests.test_flags Module

This Page

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

The cinder.tests.test_exception Module

class CinderExceptionTestCase(methodName='runTest')

Bases: cinder.test.TestCase

test_default_error_code()
test_default_error_msg()
test_default_error_msg_with_kwargs()
test_error_code_from_kwarg()
test_error_msg()
test_error_msg_exception_with_kwargs()
class FakeNotifier

Bases: object

Acts like the cinder.openstack.common.notifier.api module.

ERROR = 88
notify(context, publisher, event, priority, payload)
bad_function_error()
bad_function_exception()
good_function()