The ironic.tests.unit.db.test_conductor Module

Tests for manipulating Conductors via the DB API

class ironic.tests.unit.db.test_conductor.DbConductorTestCase(*args, **kwargs)[source]

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

test_clear_node_reservations_for_conductor()[source]
test_clear_node_target_power_state()[source]
test_get_active_driver_dict_many_hosts_and_drivers(*args, **keywargs)[source]
test_get_active_driver_dict_many_hosts_one_driver(*args, **keywargs)[source]
test_get_active_driver_dict_one_host_many_drivers(*args, **keywargs)[source]
test_get_active_driver_dict_one_host_no_driver(*args, **keywargs)[source]
test_get_active_driver_dict_one_host_one_driver(*args, **keywargs)[source]
test_get_active_driver_dict_with_old_conductor(*args, **keywargs)[source]
test_get_active_hardware_type_dict_many_host_many_ht(*args, **keywargs)[source]
test_get_active_hardware_type_dict_many_host_one_ht(*args, **keywargs)[source]
test_get_active_hardware_type_dict_one_host_many_ht(*args, **keywargs)[source]
test_get_active_hardware_type_dict_one_host_no_ht(*args, **keywargs)[source]
test_get_active_hardware_type_dict_one_host_one_ht(*args, **keywargs)[source]
test_get_active_hardware_type_dict_with_old_conductor(*args, **keywargs)[source]
test_get_conductor()[source]
test_get_conductor_not_found()[source]
test_get_offline_conductors(*args, **keywargs)[source]
test_list_hardware_type_interfaces(*args, **keywargs)[source]
test_register_conductor_existing_fails()[source]
test_register_conductor_hardware_interfaces()[source]
test_register_conductor_hardware_interfaces_duplicate()[source]
test_register_conductor_override()[source]
test_touch_conductor(*args, **keywargs)[source]
test_touch_conductor_deadlock(*args, **keywargs)[source]
test_touch_conductor_not_found()[source]
test_touch_offline_conductor()[source]
test_unregister_conductor()[source]
test_unregister_conductor_hardware_interfaces()[source]