Use unique name in starts with nonalpha test

This commit is contained in:
Andrew Gaul 2015-01-06 13:41:56 -08:00
parent 4a67f6c0f3
commit bb0a88fd1b

View file

@ -2549,7 +2549,8 @@ def check_bad_bucket_name(name):
@attr(operation='name begins with underscore') @attr(operation='name begins with underscore')
@attr(assertion='fails with subdomain: 400') @attr(assertion='fails with subdomain: 400')
def test_bucket_create_naming_bad_starts_nonalpha(): def test_bucket_create_naming_bad_starts_nonalpha():
check_bad_bucket_name('_alphasoup') bucket_name = get_new_bucket_name()
check_bad_bucket_name('_' + bucket_name)
@attr(resource='bucket') @attr(resource='bucket')