Tommi Virtanen
7da111aa7e
Test that S3 object write replaces the metadata.
...
See http://tracker.newdream.net/issues/1352
2011-08-10 15:04:19 -07:00
Stephon Striplin
0e9935a01e
refactor/add additional prefix/delimiter bucket list tests
2011-08-10 12:05:28 -07:00
Stephon Striplin
f855beff73
add marker bucket list tests
2011-08-09 18:42:06 -07:00
Stephon Striplin
1f2810557f
add maxkeys bucket list tests
2011-08-09 18:35:18 -07:00
Stephon Striplin
e7f66f178e
add test for no bucket list delimiter
2011-08-09 15:02:54 -07:00
Stephon Striplin
881c09f626
add test for checking bucket list with no prefix
2011-08-08 17:39:02 -07:00
Stephon Striplin
0e698734b6
add non-existant prefix bucket list test
2011-08-08 17:24:40 -07:00
Stephon Striplin
c89404ba68
remove fails_on_dho/rgw on test_bucket_list_many
2011-08-08 16:40:14 -07:00
Stephon Striplin
854dcc5b10
create additional parameterized bucket list tests
...
* Test on prefix and delimiter, including slash and non-slash
delimiters.
2011-08-08 15:16:15 -07:00
Tommi Virtanen
82a645c625
Demonstrate rgw bucket listing bug.
...
Discovered by stumbling on the "deleted_cnt" workaround
in s3tests.common.
TODO: Add tests for rest of the functionality in
http://docs.amazonwebservices.com/AmazonS3/latest/API/index.html?RESTBucketGET.html
2011-07-28 11:00:47 -07:00
Kyle Marsh
68c8f4b87c
s3-tests: Object download response code test
...
If a client specifies a range when requesting an object the server should
respond with 206 Partial Content when answering a request to get an object,
not 200 OK. It should also respond with only those bytes requested.
This commit introduces a test, test_ranged_request_response_code, that
checks those criteria.
2011-07-27 15:01:13 -07:00
Stephon Striplin
ee28900620
add test_object_create_unreadable
2011-07-25 11:25:39 -07:00
Yehuda Sadeh
9b3cdf753f
test consistency of bucket acls, exercises cache
2011-07-21 14:10:05 -07:00
Stephon Striplin
338728ecd2
add test_bucket_acl_no_grants
...
When the owner has no grants on their bucket, they should not be able to
write to it, but still read and write the ACL. Amazon allows users to
read the bucket, and our behavior is consistent with this.
2011-07-20 12:30:23 -07:00
Stephon Striplin
510b6e91d4
refactor and fix some acl_grant tests
2011-07-19 11:16:11 -07:00
Stephon Striplin
5136608e76
fix test_bucket_acl_grant_nonexist_user
...
* Change user_id to avoid name conflict
* Check for error_code
2011-07-15 14:57:46 -07:00
Stephon Striplin
03a80e6121
add acl grant userid tests
...
* Refactor some acl grant user_id code and run through the full suite of
acls
2011-07-15 14:34:08 -07:00
Yehuda Sadeh
3303b0f33b
fix 100-continue test to support https
2011-07-14 16:26:46 -07:00
Tommi Virtanen
91a39caf46
Fix bug where prefix was None.
...
Accessing a non-constant global from another module is tricky,
as the import binds to the original object. Rebinding the name
in the original module does not change it in importers. Use a
getter as a quick workaround.
2011-07-13 14:49:07 -07:00
Tommi Virtanen
33b25c577e
Move setup/teardown into s3tests.functional __init__, to share across modules.
2011-07-11 15:24:39 -07:00
Tommi Virtanen
e9ad6f7ee6
Move test_s3 into s3tests.functional, so it can be split to multiple files nicely.
2011-07-11 15:24:39 -07:00