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.
This commit is contained in:
Tommi Virtanen 2011-06-10 10:11:26 -07:00
parent 138a83c911
commit 79d54ac071

View file

@ -826,12 +826,6 @@ def test_list_buckets_bad_auth():
eq(e.reason, 'Forbidden') eq(e.reason, 'Forbidden')
eq(e.error_code, 'AccessDenied') eq(e.error_code, 'AccessDenied')
def test_bucket_create_good_starts_alpha():
check_good_bucket_name('a'*10)
def test_bucket_create_good_starts_number():
check_good_bucket_name('1'*10)
def test_bucket_create_naming_good_contains_period(): def test_bucket_create_naming_good_contains_period():
check_good_bucket_name('aaa.111') check_good_bucket_name('aaa.111')