mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-22 09:29:43 +00:00
Use unique name in starts with nonalpha test
This commit is contained in:
parent
4a67f6c0f3
commit
bb0a88fd1b
1 changed files with 2 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue