The ironic.tests.unit.common.test_cinder
Module¶
-
class
ironic.tests.unit.common.test_cinder.
TestCinderActions
(*args, **kwargs)[source]¶ Bases:
ironic.tests.unit.db.base.DbTestCase
-
test_attach_volumes_attach_record_failure
(*args, **keywargs)[source]¶ Attach a volume and fail if final record failure occurs
-
test_attach_volumes_attach_set_meta_failure
(*args, **keywargs)[source]¶ Attach a volume and tolerate set_metadata failure.
-
test_attach_volumes_initialize_connection_failure
(*args, **keywargs)[source]¶ Fail attachment upon an initialization failure.
-
test_attach_volumes_one_attached
(*args, **keywargs)[source]¶ Iterate with two volumes, one already attached.
-
test_attach_volumes_vol_not_found
(*args, **keywargs)[source]¶ Raise an error if the volume lookup fails
-
-
class
ironic.tests.unit.common.test_cinder.
TestCinderClient
(*args, **kwargs)[source]¶ Bases:
ironic.tests.base.TestCase
-
class
ironic.tests.unit.common.test_cinder.
TestCinderSession
(*args, **kwargs)[source]¶ Bases:
ironic.tests.base.TestCase