The ironic_python_agent.tests.unit.extensions.test_base Module

exception ironic_python_agent.tests.unit.extensions.test_base.ExecutionError[source]

Bases: ironic_python_agent.errors.RESTError

class ironic_python_agent.tests.unit.extensions.test_base.FakeAgent[source]

Bases: ironic_python_agent.extensions.base.ExecuteCommandMixin

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

Bases: ironic_python_agent.extensions.base.BaseAgentExtension

fake_async_command(**command_params)[source]
fake_sync_command(**command_params)[source]
second_async_command(**command_params)[source]
second_sync_command(**command_params)[source]
class ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_execute_command()[source]
test_execute_command_invalid_content()[source]
test_execute_command_other_exception()[source]
test_execute_command_success()[source]
test_execute_invalid_command()[source]
test_execute_unknown_extension()[source]
class ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_async_command_execution_failure()[source]
test_async_command_name()[source]
test_async_command_success()[source]
test_async_command_success_without_agent()[source]
test_async_command_validation_failure()[source]
test_command_map()[source]
test_sync_command_execution_failure()[source]
test_sync_command_name()[source]
test_sync_command_success()[source]
test_sync_command_validation_failure()[source]