Tests for hook customization.
-
class HookTestCase(*args, **kwargs)
Bases: nova.test.TestCase
-
setUp()
-
test_basic()
-
test_order_of_execution()
-
class MockEntryPoint(cls)
Bases: object
-
load()
-
class SampleHookA
Bases: object
-
name = 'a'
-
pre(*args, **kwargs)
-
class SampleHookB
Bases: nova.tests.test_hooks.SampleHookA
-
name = 'b'
-
post(rv, *args, **kwargs)