forked from TrueCloudLab/s3-tests
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:
commit
629610d788
1 changed files with 2 additions and 1 deletions
|
@ -2627,7 +2627,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')
|
||||||
|
|
Loading…
Reference in a new issue