Andrew Gaul
9b17da16cd
Test to find mismatched MD5
...
Also clarify the invalid digest test.
2014-12-22 20:26:39 -08:00
Wyllys Ingersoll
30ed65e6ba
Fixed contentlength_negative tests to ignore the error_code
2013-06-03 15:07:21 -04:00
Yehuda Sadeh
509715810d
rgw: remove fails_on_dho tags
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-01-18 10:33:02 -08:00
Mark Kampe
a268bcfbef
RGW test-case annotation for inventory.
...
Annotated S3 functional and error-detection test cases
with resource/method/operation/assertion properties to
enable automatic test case inventory generation.
Signed-off-by: Mark Kampe <mark.kampe@dreamhost.com>
2011-12-22 16:09:21 -08:00
Yehuda Sadeh
f7dde840a3
test_bucket_create_bad_contentlength_empty should use its own connection
...
since it can leave the connection in a wierd state
2011-11-22 14:46:53 -08:00
Yehuda Sadeh
a030d88e58
add bucket header tests
2011-11-22 13:25:42 -08:00
Stephon Striplin
83755e2782
remove fails_on_{dho,rgw} on passing tests
2011-10-07 12:30:15 -07:00
Sage Weil
211df8dc22
add fails_on_dho to test_object_create_bad_authorization_unreadable
2011-09-26 13:37:16 -07:00
Stephon Striplin
2fcdc79299
add fail_on_rgw on test_object_create_bad_authorization_unreadable
2011-09-23 15:14:26 -07:00
Stephon Striplin
377e968120
Rename object acl test
2011-09-22 13:07:02 -07:00
Stephon Striplin
dc732021d6
add no Content-Length PUT object acl test
2011-09-22 12:50:13 -07:00
Stephon Striplin
e4d78eccbb
add test for missing Content-Length header bucket creation
2011-08-25 17:46:25 -07:00
Stephon Striplin
adcfe6f681
remove contentlength zero header test
...
This test effectively tells the server that this request will contain no
data and any data in the body should be interpreted to be part of the
next request. By luck, we close the tcp connection beforehand so we
don't see this additional data. However, the issues caused here would
not be at the rgw/dho level.
2011-08-11 11:01:56 -07:00
Tommi Virtanen
230ec11852
Flag test_object_create_bad_contenttype_unreadable as failing on both RGW and DHO.
2011-08-11 09:35:06 -07:00
Tommi Virtanen
6577c8266c
Flag some fails_on_dho tests as fails_on_rgw too.
2011-08-11 08:47:25 -07:00
Tommi Virtanen
199b8b46c5
Test S3 api for handling of Content-MD5 that does not match.
...
The existing test_object_create_bad_md5_invalid is not valid
base64, and hence triggers a different code path. This time,
submit valid base64, but have the result not match the expected
md5sum.
2011-08-10 14:55:34 -07:00
Stephon Striplin
a1102aaaad
add Authorization header tests
2011-07-28 16:46:53 -07:00
Stephon Striplin
1dedf26b95
refactor header update logic
2011-07-28 11:34:52 -07:00
Stephon Striplin
832b297cec
support multiple boto versions for header writing
...
Depending on the version of boto, different methods are necessary for
manipulating headers. We now support 2.0rc1 and 2.0 by sub-classing
boto.s3.connection.S3Connection and overloading
boto.connection.HTTPRequest.authorize, respectfully.
2011-07-27 20:04:33 -07:00
Stephon Striplin
ade49565db
change utf8 -> unreadable on header tests
2011-07-27 11:49:18 -07:00
Stephon Striplin
3b15fc7547
add Date header tests
2011-07-27 10:31:00 -07:00
Stephon Striplin
28c4b432c4
add a Content-Type header test
2011-07-27 10:30:24 -07:00
Stephon Striplin
ab7b4eb03d
update Content-Length header tests
...
* Add more tests
* Add nose.with_setup on some tests
2011-07-27 10:30:00 -07:00
Stephon Striplin
73a2f8fd7f
add another Expect header test
2011-07-27 10:29:37 -07:00
Stephon Striplin
2b63bfc18d
update MD5 header tests
...
* Rename a test
* Add more tests
2011-07-27 10:29:06 -07:00
Stephon Striplin
405f33e10c
add User-Agent header tests
2011-07-27 10:28:03 -07:00
Stephon Striplin
82ac4f0138
subclass S3Connection class for headers
...
This makes it possible to overwrite all headers
2011-07-27 10:27:45 -07:00
Stephon Striplin
a775f5da04
add Content-Type object tests
2011-07-25 14:12:50 -07:00
Stephon Striplin
2e351e9eb8
add header-manipulation tests
...
These tests are based on explicitly modifying headers in some way.
2011-07-25 11:25:39 -07:00