The ironic.tests.unit.drivers.modules.test_wol Module

Test class for Wake-On-Lan driver module.

class ironic.tests.unit.drivers.modules.test_wol.WakeOnLanDriverTestCase(*args, **kwargs)[source]

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

setUp()[source]
test_get_power_state(*args, **keywargs)[source]
test_get_power_state_nostate(*args, **keywargs)[source]
test_get_properties(*args, **keywargs)[source]
test_reboot(*args, **keywargs)[source]
test_set_power_state_power_fail(*args, **keywargs)[source]
test_set_power_state_power_off(*args, **keywargs)[source]
test_set_power_state_power_on(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.test_wol.WakeOnLanPrivateMethodTestCase(*args, **kwargs)[source]

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

setUp()[source]
test__parse_parameters(*args, **keywargs)[source]
test__parse_parameters_no_ports_fail(*args, **keywargs)[source]
test__parse_parameters_non_default_params(*args, **keywargs)[source]
test_magic_packet_format(*args, **keywargs)[source]
test_send_magic_packets(*args, **keywargs)[source]
test_send_magic_packets_network_sendto_error(*args, **keywargs)[source]

Project Source

This Page