The ironic_python_agent.tests.unit.test_agent Module

class ironic_python_agent.tests.unit.test_agent.FakeExtension(agent=None)[source]

Bases: ironic_python_agent.extensions.base.BaseAgentExtension

class ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_advertise_address_provided(*args, **keywargs)[source]
test_route_failed(*args, **keywargs)[source]
test_route_retry(*args, **keywargs)[source]
test_route_with_host(*args, **keywargs)[source]
test_route_with_ip(*args, **keywargs)[source]
test_route_with_ipv6(*args, **keywargs)[source]
test_with_network_interface(*args, **keywargs)[source]
test_with_network_interface_failed(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_agent.TestAgentStandalone(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_run(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_agent.TestBaseAgent(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

assertEqualEncoded(a, b)[source]
setUp()[source]
test__wait_for_interface(*args, **keywargs)[source]
test__wait_for_interface_expired(*args, **keywargs)[source]
test_async_command_failure(*args, **keywargs)[source]
test_async_command_success(*args, **keywargs)[source]
test_get_node_uuid(*args, **keywargs)[source]
test_get_node_uuid_invalid_node(*args, **keywargs)[source]
test_get_node_uuid_unassociated(*args, **keywargs)[source]
test_get_route_source_indexerror(*args, **keywargs)[source]
test_get_route_source_ipv4(*args, **keywargs)[source]
test_get_route_source_ipv6(*args, **keywargs)[source]
test_get_status(*args, **keywargs)[source]
test_run(*args, **keywargs)[source]
test_run_with_inspection(*args, **keywargs)[source]
test_run_with_inspection_without_apiurl(*args, **keywargs)[source]
test_run_with_sleep(*args, **keywargs)[source]
test_run_without_inspection_and_apiurl(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.test_agent.TestHeartbeater(*args, **kwds)[source]

Bases: ironic_python_agent.tests.unit.base.IronicAgentTest

setUp()[source]
test_heartbeat(*args, **keywargs)[source]