The nova.tests.baremetal.test_nova_baremetal_deploy_helper Module

class OtherFunctionTestCase(*args, **kwargs)

Bases: nova.test.TestCase

test_get_dev()
test_get_image_mb()
class PhysicalWorkTestCase(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_always_logout_iscsi()

logout_iscsi() must be called once login_iscsi() is called.

test_deploy()

Check loosely all functions are called with right args.

class SwitchPxeConfigTestCase(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
tearDown()
test_switch_pxe_config()
class WorkerTestCase(*args, **kwargs)

Bases: nova.tests.baremetal.db.base.BMDBTestCase

setUp()
tearDown()
test_run_calls_deploy()

Check all queued requests are passed to deploy().

test_run_with_failing_deploy()

Check a worker keeps on running even if deploy() raises an exception.

wait_queue_empty(timeout)

Previous topic

The nova.tests.baremetal.test_ipmi Module

Next topic

The nova.tests.baremetal.test_nova_baremetal_manage Module

This Page