The ironic.tests.unit.drivers.test_base Module

class ironic.tests.unit.drivers.test_base.CleanStepDecoratorTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test__validate_argsinfo()[source]
test__validate_argsinfo_arg_description_invalid()[source]
test__validate_argsinfo_arg_empty_dict()[source]
test__validate_argsinfo_arg_missing_description()[source]
test__validate_argsinfo_arg_not_dict()[source]
test__validate_argsinfo_arg_required_invalid()[source]
test__validate_argsinfo_arg_unknown_key()[source]
test__validate_argsinfo_not_dict()[source]
test_clean_step_all_args()[source]
test_clean_step_bad_abortable()[source]
test_clean_step_bad_argsinfo(*args, **keywargs)[source]
test_clean_step_bad_priority()[source]
test_clean_step_priority_only()[source]
class ironic.tests.unit.drivers.test_base.CleanStepTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_get_and_execute_clean_steps()[source]
class ironic.tests.unit.drivers.test_base.FakeVendorInterface[source]

Bases: ironic.drivers.base.VendorInterface

driver_noexception(*args, **kwargs)[source]
driver_validate(**kwargs)[source]
get_properties()[source]
ironicexception(*args, **kwargs)[source]
noexception(*args, **kwargs)[source]
normalexception(*args, **kwargs)[source]
shared_task(*args, **kwargs)[source]
validate(task, **kwargs)[source]
class ironic.tests.unit.drivers.test_base.MyRAIDInterface[source]

Bases: ironic.drivers.base.RAIDInterface

create_configuration(task)[source]
delete_configuration(task)[source]
class ironic.tests.unit.drivers.test_base.PassthruDecoratorTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_passthru_check_func_references()[source]
test_passthru_exclusive_task_metadata()[source]
test_passthru_ironicexception(*args, **keywargs)[source]
test_passthru_noexception()[source]
test_passthru_nonironicexception(*args, **keywargs)[source]
test_passthru_shared_task_metadata()[source]
class ironic.tests.unit.drivers.test_base.RAIDInterfaceTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_get_logical_disk_properties(*args, **keywargs)[source]
test_validate(*args, **keywargs)[source]
test_validate_no_target_raid_config(*args, **keywargs)[source]
test_validate_raid_config(*args, **keywargs)[source]
class ironic.tests.unit.drivers.test_base.TestBareDriver(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_class_variables_immutable()[source]
class ironic.tests.unit.drivers.test_base.TestBaseDriver(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_class_variables_immutable()[source]
class ironic.tests.unit.drivers.test_base.TestDeployInterface(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_warning_on_heartbeat(*args, **keywargs)[source]
class ironic.tests.unit.drivers.test_base.TestManagementInterface(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test_inject_nmi_default_impl()[source]