test_bucket_notexist and test_bucket_create_delete work on radosgw now.

rgw bug #976 is fixed in commit fd0290a00ac76bbfe15bb12ee35e54dc58cf074f.
This commit is contained in:
Tommi Virtanen 2011-04-13 15:35:06 -07:00
parent d62cbf1252
commit 7d6cb51c74

View file

@ -183,10 +183,6 @@ def test_bucket_list_empty():
l = list(l)
eq(l, [])
# TODO rgw gives NoSuchKey instead of NoSuchBucket
# http://tracker.newdream.net/issues/976
@attr('fails_on_rgw')
def test_bucket_notexist():
name = '{prefix}foo'.format(prefix=prefix)
print 'Trying bucket {name!r}'.format(name=name)
@ -196,9 +192,6 @@ def test_bucket_notexist():
eq(e.error_code, 'NoSuchBucket')
# TODO rgw gives NoSuchKey instead of NoSuchBucket
# http://tracker.newdream.net/issues/976
@attr('fails_on_rgw')
def test_bucket_create_delete():
name = '{prefix}foo'.format(prefix=prefix)
print 'Trying bucket {name!r}'.format(name=name)