Tommi Virtanen
279e0fd324
Whitespace cleanup.
2011-06-10 10:21:24 -07:00
Tommi Virtanen
a85204a0e5
Refactor nonexistent bucket tests.
...
They can use a fixed name, nuke_prefixed_buckets guarantees the
bucket doesn't exist. Use assert_raises and check details of the
error. Move near existing non-existent bucket test.
2011-06-10 10:20:36 -07:00
Tommi Virtanen
c7816632b9
Refactor to share code, hide counter implementation.
2011-06-10 10:15:47 -07:00
Tommi Virtanen
19ac38791c
Whitespace cleanup.
2011-06-10 10:11:58 -07:00
Tommi Virtanen
79d54ac071
Remove bucket name initial character tests that gave potentially false positives.
...
check_good_bucket_name explicitly said it cannot be used to test
the initial character. This is because of cleanup and bucket name
uniqueness limitations.
This leaves a hole in the test coverage: buckets with both letters
and digits as initial characters must work. This needs to be fixed
later.
2011-06-10 10:11:26 -07:00
Tommi Virtanen
138a83c911
Remove dead code.
2011-06-10 09:59:52 -07:00
Tommi Virtanen
35e2b3dec5
Simplify test and output problematic bucket name on failure.
2011-06-10 09:57:41 -07:00
Tommi Virtanen
53596480f2
More tests from Wesley Spikes.
2011-06-10 09:43:18 -07:00
Tommi Virtanen
818523f48c
Add a test that uses Key.set_contents_from_file, to trigger 100 Continue.
2011-06-07 10:47:27 -07:00
Colin Patrick McCabe
e8a5077913
s3-tests: add test_object_giveaway
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-05-26 16:26:24 -07:00
Colin Patrick McCabe
75136b58b8
test_s3: fix test_object_set_valid_acl
...
Fix the XML in test_object_set_valid_acl to work with Amazon.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-05-04 15:13:45 -07:00
Colin Patrick McCabe
aca962dac2
test_s3: add test_object_set_valid_acl
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-05-04 12:18:27 -07:00
Yehuda Sadeh
5861b129bc
add a test for setting metadata
2011-04-29 11:11:27 -07:00
Yehuda Sadeh
db70e893e5
a few more rgw tests pass now
2011-04-28 16:00:19 -07:00
Tommi Virtanen
3f0828b855
Refactor grant checking to ignore order of grants.
2011-04-18 09:58:10 -07:00
Yehuda Sadeh
344b182260
a few rgw tests work now
2011-04-15 11:41:40 -07:00
Tommi Virtanen
9b39add43f
boto set_acl() works on radosgw now.
...
rgw bug #981 is fixed in commit 6f730af1926f9d4fe5904ac10dbe019c0a6aef8d.
Many tests now fail at the next step; did not file tickets.
2011-04-14 15:40:16 -07:00
Tommi Virtanen
fd323907f9
test_bucket_create_naming_bad_short_empty works on radosgw now.
...
rgw bug #983 is fixed in commit 5c06fc1c8b4e983acd7f01f7b908ba8f357621b2.
2011-04-13 16:58:23 -07:00
Tommi Virtanen
18185b4826
test_bucket_create_exists works on radosgw now.
...
rgw bug #978 is fixed in commit 59309b376c5356afd97a2e72f126159d2a4877ba.
2011-04-13 16:22:25 -07:00
Tommi Virtanen
7d6cb51c74
test_bucket_notexist and test_bucket_create_delete work on radosgw now.
...
rgw bug #976 is fixed in commit fd0290a00ac76bbfe15bb12ee35e54dc58cf074f.
2011-04-13 16:21:58 -07:00
Tommi Virtanen
d62cbf1252
Note down radosgw bugs triggered.
2011-04-05 11:10:49 -07:00
Tommi Virtanen
820104b31f
More precise test for rgw bad error message.
2011-04-04 17:03:18 -07:00
Tommi Virtanen
c87555d060
MIT licensed.
2011-04-04 15:19:59 -07:00
Tommi Virtanen
46f2e3b00e
Initial commit.
2011-04-04 14:45:42 -07:00