The nova.tests.test_hooks Module

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)

Previous topic

The nova.tests.test_filters Module

Next topic

The nova.tests.test_hypervapi Module

This Page