Merge pull request #36 from andrewgaul/starts-with-nonalpha

Use unique name in starts with nonalpha test

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2015-02-27 10:37:42 -08:00
commit 629610d788

View file

@ -2627,7 +2627,8 @@ def check_bad_bucket_name(name):
@attr(operation='name begins with underscore')
@attr(assertion='fails with subdomain: 400')
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')