object_storage package

Submodules

object_storage.base module

class BaseObjectTest(*args, **kwargs)[source]

Bases: BaseTestCase

object_storage.test_account_bulk module

class BulkTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test bulk operation of archived file

test_bulk_delete()[source]

Test idempotent id: c075e682-0d2a-43b2-808d-4116200d736d

Test bulk operation of deleting multiple files

test_bulk_delete_by_POST()[source]

Test idempotent id: dbea2bcb-efbb-4674-ac8a-a5a0e33d1d79

Test bulk operation of deleting multiple files by HTTP POST

test_extract_archive()[source]

Test idempotent id: a407de51-1983-47cc-9f14-47c2b059413c

Test bulk operation of file upload with an archived file

object_storage.test_account_quotas module

class AccountQuotasTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test account quotas

test_admin_modify_quota()[source]

Test idempotent id: 63f51f9f-5f1d-4fc6-b5be-d454d70949d6

Test ResellerAdmin can modify/remove the quota on a user’s account

Using the account client, the test modifies the quota successively to:

  • “25”: a random value different from the initial quota value.

  • “” : an empty value, equivalent to the removal of the quota.

  • “20”: set the quota to its initial value.

test_upload_valid_object()[source]

Test idempotent id: a22ef352-a342-4587-8f47-3bbdb5b039c4

Test uploading valid object

object_storage.test_account_quotas_negative module

class AccountQuotasNegativeTest(*args, **kwargs)[source]

Bases: BaseObjectTest

test_user_modify_quota()[source]

Test idempotent id: d1dc5076-555e-4e6d-9697-28f1fe976324

Test that a user cannot modify or remove a quota on its account.

object_storage.test_account_services module

class AccountTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test account metadata and containers

test_list_account_metadata()[source]

Test idempotent id: 4894c312-6056-4587-8d6f-86ffbf861f80

Test listing account metadata

test_list_containers()[source]

Test idempotent id: 3499406a-ae53-4f8c-b43a-133d4dc6fe3f

Test listing containers

test_list_containers_reverse_order()[source]

Test idempotent id: b1811cff-d1ed-4c15-a52e-efd8de41cf34

Test listing containers in reverse order

test_list_containers_with_end_marker()[source]

Test idempotent id: 5ca164e4-7bde-43fa-bafb-913b53b9e786

Test listing containers with end_marker parameter

First expect to get 0 container as we specified first container as end_marker, second expect to get the top half of the containers

test_list_containers_with_format_json()[source]

Test idempotent id: 1c7efa35-e8a2-4b0b-b5ff-862c7fd83704

Test listing containers setting format parameter to ‘json’

test_list_containers_with_format_xml()[source]

Test idempotent id: 4477b609-1ca6-4d4b-b25d-ad3f01086089

Test listing containers setting format parameter to ‘xml’

test_list_containers_with_limit()[source]

Test idempotent id: 5cfa4ab2-4373-48dd-a41f-a532b12b08b2

Test listing containers with limit parameter

Listing containers limited to one of them, half of them, and then all of them.

test_list_containers_with_limit_and_end_marker()[source]

Test idempotent id: 888a3f0e-7214-4806-8e50-5e0c9a69bb5e

Test listing containers combining end_marker and limit parameter

Result are always limited by the limit whatever the end_marker.

test_list_containers_with_limit_and_marker()[source]

Test idempotent id: f7064ae8-dbcc-48da-b594-82feef6ea5af

Test listing containers combining marker and limit parameter

Result are always limited by the limit whatever the marker.

test_list_containers_with_limit_and_marker_and_end_marker()[source]

Test idempotent id: 8cf98d9c-e3a0-4e44-971b-c87656fdddbd

Test listing containers combining marker and end_marker and limit

Result are always limited by the limit whatever the marker and the end_marker.

test_list_containers_with_marker()[source]

Test idempotent id: 638f876d-6a43-482a-bbb3-0840bca101c6

Test listing containers with marker parameter

First expect to get 0 container as we specified the last container as marker, second expect to get the bottom half of the containers.

test_list_containers_with_marker_and_end_marker()[source]

Test idempotent id: ac8502c2-d4e4-4f68-85a6-40befea2ef5e

Test listing containers with marker and end_marker parameter

If we use the first container as marker, and the last container as end_marker, then we should get all containers excluding the first one and the last one.

test_list_containers_with_prefix()[source]

Test idempotent id: 365e6fc7-1cfe-463b-a37c-8bd08d47b6aa

Test listing containers that have a name starting with a prefix

test_list_extensions()[source]

Test idempotent id: 6eb04a6a-4860-4e31-ba91-ea3347d76b58

Test listing capabilities

test_list_no_account_metadata()[source]

Test idempotent id: b904c2e3-24c2-4dba-ad7d-04e90a761be5

Test listing account metadata for account without metadata

test_list_no_containers()[source]

Test idempotent id: 884ec421-fbad-4fcc-916b-0580f2699565

Test listing containers for an account without container

test_update_account_metadata_with_create_and_delete_metadata()[source]

Test idempotent id: 8e5fc073-59b9-42ee-984a-29ed11b2c749

Test adding and deleting metadata simultaneously

Send a request adding and deleting metadata requests simultaneously, both adding and deleting of metadata will succeed.

test_update_account_metadata_with_create_metadata()[source]

Test idempotent id: e2a08b5f-3115-4768-a3ee-d4287acd6c08

Test adding metadata to account

test_update_account_metadata_with_create_metadata_key()[source]

Test idempotent id: 64fd53f3-adbd-4639-af54-436e4982dbfb

Test adding metadata to account with empty value

Adding metadata with empty value to account, the metadata is not registered.

test_update_account_metadata_with_delete_metadata()[source]

Test idempotent id: 9f60348d-c46f-4465-ae06-d51dbd470953

Test deleting metadata from account

test_update_account_metadata_with_delete_metadata_key()[source]

Test idempotent id: d4d884d3-4696-4b85-bc98-4f57c4dd2bf1

Test deleting metadata from account with empty value

Although the value of metadata is not set, the feature of deleting metadata is valid, so the metadata is removed from account.

object_storage.test_account_services_negative module

class AccountNegativeTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Negative tests of account

test_list_containers_with_non_authorized_user()[source]

Test idempotent id: 070e6aca-6152-4867-868d-1118d68fb38c

Test listing containers using non-authorized user

object_storage.test_container_acl module

class ObjectTestACLs(*args, **kwargs)[source]

Bases: BaseObjectTest

Test object ACLs

test_read_object_with_rights()[source]

Test idempotent id: a3270f3f-7640-4944-8448-c7ea783ea5b6

Test reading object using authorized user

test_write_object_with_rights()[source]

Test idempotent id: aa58bfa5-40d9-4bc3-82b4-d07f4a9e392a

Test writing object using authorized user

object_storage.test_container_acl_negative module

class ObjectACLsNegativeTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Negative tests of object ACLs

test_delete_object_with_non_authorized_user()[source]

Test idempotent id: 7343ac3d-cfed-4198-9bb0-00149741a492

Test deleting object with non-authorized user

test_delete_object_without_using_creds()[source]

Test idempotent id: af85af0b-a025-4e72-a90e-121babf55720

Test deleting object without using credentials

test_delete_object_without_write_rights()[source]

Test idempotent id: b4e366f8-f185-47ab-b789-df4416f9ecdb

Test deleting object without write rights

test_read_object_with_non_authorized_user()[source]

Test idempotent id: abf63359-be52-4feb-87dd-447689fc77fd

Test reading object with non-authorized user

test_read_object_without_rights()[source]

Test idempotent id: 9ed01334-01e9-41ea-87ea-e6f465582823

Test reading object without rights

test_write_object_with_non_authorized_user()[source]

Test idempotent id: 63d84e37-55a6-42e2-9e5f-276e60e26a00

Test writing object with non-authorized user

test_write_object_without_rights()[source]

Test idempotent id: a3a585a7-d8cf-4b65-a1a0-edc2b1204f85

Test writing object without rights

test_write_object_without_using_creds()[source]

Test idempotent id: af587587-0c24-4e15-9822-8352ce711013

Test writing object without using credentials

test_write_object_without_write_rights()[source]

Test idempotent id: 8ba512ad-aa6e-444e-b882-2906a0ea2052

Test writing object without write rights

object_storage.test_container_quotas module

class ContainerQuotasTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Attempts to test the perfect behavior of quotas in a container.

test_upload_large_object()[source]

Test idempotent id: 22eeeb2b-3668-4160-baef-44790f65a5a0

Attempts to upload an object larger than the bytes quota.

test_upload_too_many_objects()[source]

Test idempotent id: 3a387039-697a-44fc-a9c0-935de31f426b

Attempts to upload many objects that exceeds the count limit.

test_upload_valid_object()[source]

Test idempotent id: 9a0fb034-86af-4df0-86fa-f8bd7db21ae0

Attempts to uploads an object smaller than the bytes quota.

object_storage.test_container_services module

class ContainerTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test containers

test_create_container()[source]

Test idempotent id: 92139d73-7819-4db1-85f8-3f2f22a8d91f

Test creating container

test_create_container_overwrite()[source]

Test idempotent id: 49f866ed-d6af-4395-93e7-4187eb56d322

Test overwriting container with the same name

test_create_container_with_metadata_key()[source]

Test idempotent id: c2ac4d59-d0f5-40d5-ba19-0635056d48cd

Test creating container with the blank value of metadata

test_create_container_with_metadata_value()[source]

Test idempotent id: e1e8df32-7b22-44e1-aa08-ccfd8d446b58

Test creating container with metadata value

test_create_container_with_remove_metadata_key()[source]

Test idempotent id: 24d16451-1c0c-4e4f-b59c-9840a3aba40e

Test creating container with the blank value of remove metadata

test_create_container_with_remove_metadata_value()[source]

Test idempotent id: 8a21ebad-a5c7-4e29-b428-384edc8cd156

Test creating container with remove metadata

test_delete_container()[source]

Test idempotent id: 95d3a249-b702-4082-a2c4-14bb860cf06a

Test deleting container

test_list_container_contents()[source]

Test idempotent id: 312ff6bd-5290-497f-bda1-7c5fec6697ab

Test getting container contents list

test_list_container_contents_with_delimiter()[source]

Test idempotent id: fe323a32-57b9-4704-a996-2e68f83b09bc

Test getting container contents list using delimiter param

test_list_container_contents_with_end_marker()[source]

Test idempotent id: 55b4fa5c-e12e-4ca9-8fcf-a79afe118522

Test getting container contents list using end_marker param

test_list_container_contents_with_format_json()[source]

Test idempotent id: 196f5034-6ab0-4032-9da9-a937bbb9fba9

Test getting container contents list using format_json param

test_list_container_contents_with_format_xml()[source]

Test idempotent id: 655a53ca-4d15-408c-a377-f4c6dbd0a1fa

Test getting container contents list using format_xml param

test_list_container_contents_with_limit()[source]

Test idempotent id: 297ec38b-2b61-4ff4-bcd1-7fa055e97b61

Test getting container contents list using limit param

test_list_container_contents_with_marker()[source]

Test idempotent id: c31ddc63-2a58-4f6b-b25c-94d2937e6867

Test getting container contents list using marker param

test_list_container_contents_with_no_object()[source]

Test idempotent id: 4646ac2d-9bfb-4c7d-a3c5-0f527402b3df

Test getting empty container contents list

test_list_container_contents_with_path()[source]

Test idempotent id: 58ca6cc9-6af0-408d-aaec-2a6a7b2f0df9

Test getting container contents list using path param

test_list_container_contents_with_prefix()[source]

Test idempotent id: 77e742c7-caf2-4ec9-8aa4-f7d509a3344c

Test getting container contents list using prefix param

test_list_container_metadata()[source]

Test idempotent id: 96e68f0e-19ec-4aa2-86f3-adc6a45e14dd

Test listing container metadata

test_list_no_container_metadata()[source]

Test idempotent id: a2faf936-6b13-4f8d-92a2-c2278355821e

Test listing container without metadata

test_update_container_metadata_with_create_and_delete_metadata()[source]

Test idempotent id: cf19bc0b-7e16-4a5a-aaed-cb0c2fe8deef

Test updating container with adding and deleting metadata

Send one request of adding and deleting metadata.

test_update_container_metadata_with_create_metadata()[source]

Test idempotent id: 2ae5f295-4bf1-4e04-bfad-21e54b62cec5

Test updating container metadata using add metadata

test_update_container_metadata_with_create_metadata_key()[source]

Test idempotent id: 31f40a5f-6a52-4314-8794-cd89baed3040

Test updating container metadata with a blank value of metadata

test_update_container_metadata_with_delete_metadata()[source]

Test idempotent id: 3a5ce7d4-6e4b-47d0-9d87-7cd42c325094

Test updating container metadata using delete metadata

test_update_container_metadata_with_delete_metadata_key()[source]

Test idempotent id: a2e36378-6f1f-43f4-840a-ffd9cfd61914

Test updating container metadata with a blank value of metadata

object_storage.test_container_services_negative module

class ContainerNegativeTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Negative tests of containers

test_create_container_metadata_exceeds_overall_metadata_count()[source]

Test idempotent id: ac666539-d566-4f02-8ceb-58e968dfb732

Test creating container with metadata exceeding default count

test_create_container_metadata_name_exceeds_max_length()[source]

Test idempotent id: 41e645bf-2e68-4f84-bf7b-c71aa5cd76ce

Test creating container with metadata name longer than max

test_create_container_metadata_value_exceeds_max_length()[source]

Test idempotent id: 81e36922-326b-4b7c-8155-3bbceecd7a82

Test creating container with metadata value longer than max

test_create_container_name_exceeds_max_length()[source]

Test idempotent id: 30686921-4bed-4764-a038-40d741ed4e78

Test creating container with name longer than max

test_delete_non_empty_container()[source]

Test idempotent id: 42da116e-1e8c-4c96-9e06-2f13884ed2b1

Test deleting a container with object in it

test_delete_with_nonexistent_container_name()[source]

Test idempotent id: 65387dbf-a0e2-4aac-9ddc-16eb3f1f69ba

Test deleting metadata using a non existent container name

test_get_metadata_headers_with_invalid_container_name()[source]

Test idempotent id: 1a95ab2e-b712-4a98-8a4d-8ce21b7557d6

Test getting metadata headers with invalid container name

test_list_all_container_objects_on_deleted_container()[source]

Test idempotent id: 86b2ab08-92d5-493d-acd2-85f0c848819e

Test getting a list of all objects on a deleted container

test_list_all_container_objects_with_nonexistent_container()[source]

Test idempotent id: 14331d21-1e81-420a-beea-19cb5e5207f5

Test getting a list of all objects on a non existent container

test_update_metadata_with_nonexistent_container_name()[source]

Test idempotent id: 125a24fa-90a7-4cfc-b604-44e49d788390

Test updating metadata using a nonexistent container name

object_storage.test_container_staticweb module

class StaticWebTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test static web

test_web_error()[source]

Test idempotent id: f18b4bef-212e-45e7-b3ca-59af3a465f82

Test web error

test_web_index()[source]

Test idempotent id: c1f055ab-621d-4a6a-831f-846fcb578b8b

Test web index

test_web_listing()[source]

Test idempotent id: 941814cf-db9e-4b21-8112-2b6d0af10ee5

Test web listing

test_web_listing_css()[source]

Test idempotent id: bc37ec94-43c8-4990-842e-0e5e02fc8926

Test web listing css

object_storage.test_container_sync module

class ContainerSyncTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test container synchronization

test_container_synchronization()[source]

Test idempotent id: be008325-1bba-4925-b7dd-93b58f22ce9b

Test container synchronization

object_storage.test_container_sync_middleware module

class ContainerSyncMiddlewareTest(*args, **kwargs)[source]

Bases: ContainerSyncTest

Test containers synchronization specifying realm and cluster

test_container_synchronization()[source]

Test idempotent id: ea4645a1-d147-4976-82f7-e5a7a3065f80

Test container synchronization specifying realm and cluster

object_storage.test_crossdomain module

class CrossdomainTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test crossdomain policy

test_get_crossdomain_policy()[source]

Test idempotent id: d1b8b031-b622-4010-82f9-ff78a9e915c7

Test getting crossdomain policy

object_storage.test_healthcheck module

class HealthcheckTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test healthcheck

test_get_healthcheck()[source]

Test idempotent id: db5723b1-f25c-49a9-bfeb-7b5640caf337

Test getting healthcheck

object_storage.test_object_expiry module

class ObjectExpiryTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test object expiry

test_get_object_after_expiry_time()[source]

Test idempotent id: fb024a42-37f3-4ba5-9684-4f40a7910b41

Test object is expired after x-delete-after time

test_get_object_at_expiry_time()[source]

Test idempotent id: e592f18d-679c-48fe-9e36-4be5f47102c5

Test object is expired at x-delete-at time

object_storage.test_object_formpost module

class ObjectFormPostTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test object post with form

test_post_object_using_form()[source]

Test idempotent id: 80fac02b-6e54-4f7b-be0d-a965b5cbef76

Test posting object using form

object_storage.test_object_formpost_negative module

class ObjectFormPostNegativeTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Negative tests of object post with form

test_post_object_using_form_expired()[source]

Test idempotent id: d3fb3c4d-e627-48ce-9379-a1631f21336d

Test posting object using expired form

test_post_object_using_form_invalid_signature()[source]

Test idempotent id: b277257f-113c-4499-b8d1-5fead79f7360

Test posting object using form with invalid signature

object_storage.test_object_services module

class ObjectTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test storage object

test_copy_object_2d_way()[source]

Test idempotent id: 06f90388-2d0e-40aa-934c-e9a8833e958a

Test copying object’s data to the new object using COPY

test_copy_object_across_containers()[source]

Test idempotent id: aa467252-44f3-472a-b5ae-5b57c3c9c147

Test copying object to another container

test_copy_object_in_same_container()[source]

Test idempotent id: 1a9ab572-1b66-4981-8c21-416e2a5e6011

Test copying object to another object in same container

test_copy_object_to_itself()[source]

Test idempotent id: 2248abba-415d-410b-9c30-22dff9cd6e67

Test changing the content type of an existing object

test_copy_object_with_x_fresh_metadata()[source]

Test idempotent id: 5a9e2cc6-85b6-46fc-916d-0cbb7a88e5fd

Test copying objectwith x_fresh_metadata

test_copy_object_with_x_object_meta()[source]

Test idempotent id: edabedca-24c3-4322-9b70-d6d9f942a074

Test copying object with x_object_meta

test_copy_object_with_x_object_metakey()[source]

Test idempotent id: a28a8b99-e701-4d7e-9d84-3b66f121460b

Test copying object with x_object_metakey

test_create_object()[source]

Test idempotent id: 5b4ce26f-3545-46c9-a2ba-5754358a4c62

Test creating object and checking the object’s uploaded content

test_create_object_with_content_disposition()[source]

Test idempotent id: 5daebb1d-f0d5-4dc9-b541-69672eff00b0

Test creating object with content-disposition

test_create_object_with_content_encoding()[source]

Test idempotent id: 605f8317-f945-4bee-ae91-013f1da8f0a0

Test creating object with content-encoding

test_create_object_with_etag()[source]

Test idempotent id: 73820093-0503-40b1-a478-edf0e69c7d1f

Test creating object with Etag

test_create_object_with_expect_continue()[source]

Test idempotent id: 84dafe57-9666-4f6d-84c8-0814d37923b8

Test creating object with expect_continue

test_create_object_with_transfer_encoding()[source]

Test idempotent id: 4f84422a-e2f2-4403-b601-726a4220b54e

Test creating object with transfer_encoding

test_create_object_with_x_fresh_metadata()[source]

Test idempotent id: 0f3d62a6-47e3-4554-b0e5-1a5dc372d501

Test creating object with x-fresh-metadata

The previous added metadata will be cleared.

test_create_object_with_x_object_meta()[source]

Test idempotent id: 1c7ed3e4-2099-406b-b843-5301d4811baf

Test creating object with x-object-meta

test_create_object_with_x_object_metakey()[source]

Test idempotent id: e4183917-33db-4153-85cc-4dacbb938865

Test creating object with the blank value of metadata

test_create_object_with_x_remove_object_meta()[source]

Test idempotent id: ce798afc-b278-45de-a5ce-2ea124b98b99

Test creating object with x-remove-object-meta

The metadata will be removed from the object.

test_create_object_with_x_remove_object_metakey()[source]

Test idempotent id: ad21e342-7916-4f9e-ab62-a1f885f2aaf9

Test creating object with the blank value of remove metadata

Creating object with blank metadata ‘X-Remove-Object-Meta-test-meta’, metadata ‘x-object-meta-test-meta’ will be removed from the object.

test_delete_object()[source]

Test idempotent id: 17738d45-03bd-4d45-9e0b-7b2f58f98687

Test deleting object

test_get_object()[source]

Test idempotent id: 02610ba7-86b7-4272-9ed8-aa8d417cb3cd

Test retrieving object’s data (in response body)

test_get_object_if_different()[source]

Test idempotent id: 50d01f12-526f-4360-9ac2-75dd508d7b68

Test getting object content only when the local file is different

http://en.wikipedia.org/wiki/HTTP_ETag Make a conditional request for an object using the If-None-Match header, it should get downloaded only if the local file is different, otherwise the response code should be 304 Not Modified

test_get_object_with_if_match()[source]

Test idempotent id: c05b4013-e4de-47af-be84-e598062b16fc

Test getting object with if_match

test_get_object_with_if_modified_since()[source]

Test idempotent id: be133639-e5d2-4313-9b1f-2d59fc054a16

Test getting object with if_modified_since

test_get_object_with_if_none_match()[source]

Test idempotent id: 641500d5-1612-4042-a04d-01fc4528bc30

Test getting object with if_none_match

test_get_object_with_if_unmodified_since()[source]

Test idempotent id: 0aa1201c-10aa-467a-bee7-63cbdd463152

Test getting object with if_unmodified_since

test_get_object_with_metadata()[source]

Test idempotent id: 005f9bf6-e06d-41ec-968e-96c78e0b1d82

Test getting object with metadata

test_get_object_with_range()[source]

Test idempotent id: 05a1890e-7db9-4a6c-90a8-ce998a2bddfa

Test getting object with range

test_get_object_with_x_newest()[source]

Test idempotent id: 94587078-475f-48f9-a40f-389c246e31cd

Test getting object with x_newest

test_get_object_with_x_object_manifest()[source]

Test idempotent id: 11b4515b-7ba7-4ca8-8838-357ded86fc10

Test getting object with x_object_manifest

test_list_no_object_metadata()[source]

Test idempotent id: 170fb90e-f5c3-4b1f-ae1b-a18810821172

Test listing object metadata for object without metadata

test_list_object_metadata()[source]

Test idempotent id: 9a447cf6-de06-48de-8226-a8c6ed31caf2

Test listing object metadata

test_list_object_metadata_with_x_object_manifest()[source]

Test idempotent id: 23a3674c-d6de-46c3-86af-ff92bfc8a3da

Test getting object metadata with x_object_manifest

test_object_upload_in_segments()[source]

Test idempotent id: e3e6a64a-9f50-4955-b987-6ce6767c97fb

Test uploading object in segments

test_update_object_metadata()[source]

Test idempotent id: 7a94c25d-66e6-434c-9c38-97d4e2c29945

Test updating object metadata

test_update_object_metadata_with_create_and_remove_metadata()[source]

Test idempotent id: f726174b-2ded-4708-bff7-729d12ce1f84

Test updating object with creation and deletion of metadata

Update object with creation and deletion of metadata with one request, both operations will succeed.

test_update_object_metadata_with_remove_metadata()[source]

Test idempotent id: 48650ed0-c189-4e1e-ad6b-1d4770c6e134

Test updating object metadata with remove metadata

test_update_object_metadata_with_x_object_manifest()[source]

Test idempotent id: 08854588-6449-4bb7-8cca-f2e1040f5e6f

Test updating object metadata with x_object_manifest

test_update_object_metadata_with_x_object_metakey()[source]

Test idempotent id: 0dbbe89c-6811-4d84-a2df-eca2bdd40c0e

Test updating object metadata with a blank value of metadata

test_update_object_metadata_with_x_remove_object_metakey()[source]

Test idempotent id: 9a88dca4-b684-425b-806f-306cd0e57e42

Test updating object metadata with blank remove metadata value

class PublicObjectTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test public storage object

test_access_public_container_object_without_using_creds()[source]

Test idempotent id: 07c9cf95-c0d4-4b49-b9c8-0ef2c9b27193

Test accessing public container object without using credentials

Make container public-readable and access an object in it object anonymously, without using credentials.

test_access_public_object_with_another_user_creds()[source]

Test idempotent id: 54e2a2fe-42dc-491b-8270-8e4217dd4cdc

Test accessing public object with another user’s credentials

Make container public-readable and access an object in it using another user’s credentials.

object_storage.test_object_slo module

class ObjectSloTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test static large object

test_delete_large_object()[source]

Test idempotent id: 87b6dfa1-abe9-404d-8bf0-6c3751e6aa77

Test deleting static large object using multipart manifest

test_list_large_object_metadata()[source]

Test idempotent id: e69ad766-e1aa-44a2-bdd2-bf62c09c1456

Test listing static large object metadata

List static large object metadata using multipart manifest

test_retrieve_large_object()[source]

Test idempotent id: 49bc49bc-dd1b-4c0f-904e-d9f10b830ee8

Test listing static large object using multipart manifest

test_upload_manifest()[source]

Test idempotent id: 2c3f24a6-36e8-4711-9aa2-800ee1fc7b5b

Test creating static large object from multipart manifest

object_storage.test_object_temp_url module

class ObjectTempUrlTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test object temp url

test_get_object_using_temp_url()[source]

Test idempotent id: f91c96d4-1230-4bba-8eb9-84476d18d991

Test getting object using temp url

test_get_object_using_temp_url_key_2()[source]

Test idempotent id: 671f9583-86bd-4128-a034-be282a68c5d8

Test getting object using metadata ‘Temp-URL-Key-2’

test_get_object_using_temp_url_with_inline_query_parameter()[source]

Test idempotent id: 9d9cfd90-708b-465d-802c-e4a8090b823d

Test getting object using temp url with inline query parameter

test_head_object_using_temp_url()[source]

Test idempotent id: 249a0111-5ad3-4534-86a7-1993d55f9185

Test HEAD operation of object using temp url

test_put_object_using_temp_url()[source]

Test idempotent id: 9b08dade-3571-4152-8a4f-a4f2a873a735

Test putting object using temp url

object_storage.test_object_temp_url_negative module

class ObjectTempUrlNegativeTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Negative tests of object temp url

test_get_object_after_expiration_time()[source]

Test idempotent id: 5a583aca-c804-41ba-9d9a-e7be132bdf0b

Test getting object after expiration time

object_storage.test_object_version module

class ContainerTest(*args, **kwargs)[source]

Bases: BaseObjectTest

Test versioned container

test_versioned_container()[source]

Test idempotent id: a151e158-dcbf-4a1f-a1e7-46cd65895a6f

Test versioned container

  1. create container1

  2. create container2, with container1 as ‘X-versions-Location’ header

  3. create object1 in container1

  4. create 2nd version of object1

  5. delete object version 2

  6. delete object version 1

Module contents