Tests for manipulating VolumeTargets via the DB API
-
class
ironic.tests.unit.db.test_volume_targets.
DbVolumeTargetTestCase
(*args, **kwargs)[source]
Bases: ironic.tests.unit.db.base.DbTestCase
-
setUp
()[source]
-
test_create_volume_target
()[source]
-
test_create_volume_target_duplicated_nodeid_and_bootindex
()[source]
-
test_create_volume_target_duplicated_uuid
()[source]
-
test_destroy_volume_target
()[source]
-
test_get_volume_target_by_id
()[source]
-
test_get_volume_target_by_uuid
()[source]
-
test_get_volume_target_list
()[source]
-
test_get_volume_target_list_sorted
()[source]
-
test_get_volume_targets_by_node_id
()[source]
-
test_get_volume_targets_by_node_id_that_does_not_exist
()[source]
-
test_update_volume_target
()[source]
-
test_update_volume_target_duplicated_nodeid_and_bootindex
()[source]
-
test_update_volume_target_fails_invalid_id
()[source]
-
test_update_volume_target_uuid
()[source]