storage_api.extensions.tests package

Submodules

storage_api.extensions.tests.test_storage module

storage_api.extensions.tests.test_storage.delete_volume(backend, volume_name)[source]
storage_api.extensions.tests.test_storage.ephermeral_volume(backend)[source]
storage_api.extensions.tests.test_storage.id_from_vol(v, backend)[source]
storage_api.extensions.tests.test_storage.new_volume(backend)[source]
storage_api.extensions.tests.test_storage.on_all_backends(func)[source]

This has to be a separate decorator because the storage parameter must be initialised on every run with a fresh object.

Will parametrise the decorated test to run once for every type of storage provided here.

storage_api.extensions.tests.test_storage.test_add_lock(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_all_policies_formatting_bug(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_clone_volume(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_create_already_existing_volume(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_create_get_volume(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_delete_policy(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_delete_snapshot(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_ensure_policy_rule_absent(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_ensure_policy_rule_present(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_get_no_locks(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_get_no_volumes(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_get_nonexistent_volume(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_get_snapshots(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_has_caching_policy(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_lock_locked(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_create_volume_as_name(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_create_volume_jp_missing(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_create_volume_name_missing(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_create_volume_no_node(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_create_volume_w_compression(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_create_volume_w_policy(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_create_volume_w_snapshot_reserve(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_name_jp_both_work(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_update_snapshot_reserve(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_update_volume_compression(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_netapp_update_volume_policy(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_patch_volume(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_remove_lock(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_remove_lock_wrong_host(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_remove_policy_no_policy_raises_key_error(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_repr_doesnt_crash(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_resize_volume(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_restrict_volume(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_rollback_volume(storage, recorder)[source]
storage_api.extensions.tests.test_storage.test_set_policy(storage, recorder)[source]

Module contents