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_virt_drivers Module

class nova.tests.test_virt_drivers.AbstractDriverTestCase(methodName='runTest')

Bases: nova.tests.test_virt_drivers._VirtDriverTestCase

setUp()
class nova.tests.test_virt_drivers.FakeConnectionTestCase(methodName='runTest')

Bases: nova.tests.test_virt_drivers._VirtDriverTestCase

setUp()
nova.tests.test_virt_drivers.catch_notimplementederror(f)

Decorator to simplify catching drivers raising NotImplementedError

If a particular call makes a driver raise NotImplementedError, we log it so that we can extract this information afterwards to automatically generate a hypervisor/feature support matrix.