The ironic.tests.unit.common.test_driver_factory Module

class ironic.tests.unit.common.test_driver_factory.DriverLoadTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_driver_duplicated_entry(*args, **keywargs)[source]
test_driver_init_checks_unsupported(*args, **keywargs)[source]
test_driver_load_error_if_driver_enabled()[source]
test_no_driver_load_error_if_driver_disabled(*args, **keywargs)[source]
test_wrap_in_driver_load_error_if_driver_enabled()[source]
class ironic.tests.unit.common.test_driver_factory.FakeEp[source]

Bases: object

class ironic.tests.unit.common.test_driver_factory.GetDriverTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_get_driver_known()[source]
test_get_driver_unknown()[source]
class ironic.tests.unit.common.test_driver_factory.NetworkInterfaceFactoryTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_build_driver_for_task(*args, **keywargs)[source]
test_build_driver_for_task_default_is_flat()[source]
test_build_driver_for_task_default_is_none()[source]
test_build_driver_for_task_default_network_interface_is_set()[source]
test_build_driver_for_task_unknown_network_interface()[source]
class ironic.tests.unit.common.test_driver_factory.NewDriverFactory[source]

Bases: ironic.common.driver_factory.BaseDriverFactory

class ironic.tests.unit.common.test_driver_factory.NewFactoryTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

test_new_driver_factory_unknown_entrypoint()[source]
class ironic.tests.unit.common.test_driver_factory.WarnUnsupportedDriversTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test__warn_if_unsupported_with_supported()[source]
test__warn_if_unsupported_with_unsupported()[source]

Project Source

This Page