mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 23:29:47 +00:00
add test_bucket_create_special_key_names
This commit is contained in:
parent
c509158413
commit
d196c6829d
1 changed files with 13 additions and 0 deletions
|
@ -2579,6 +2579,19 @@ def test_bucket_create_naming_good_contains_period():
|
|||
def test_bucket_create_naming_good_contains_hyphen():
|
||||
check_good_bucket_name('aaa-111')
|
||||
|
||||
@attr(resource='object')
|
||||
@attr(method='put')
|
||||
@attr(operation='create and list objects with special names')
|
||||
@attr(assertion='special names work')
|
||||
def test_bucket_create_special_key_names():
|
||||
key_names = [' ', '_', '_ ', '_ _', '__']
|
||||
bucket = _create_keys(keys=key_names)
|
||||
|
||||
li = bucket.list()
|
||||
|
||||
names = [e.name for e in list(li)]
|
||||
eq(names, key_names)
|
||||
|
||||
@attr(resource='object')
|
||||
@attr(method='put')
|
||||
@attr(operation='copy zero sized object in same bucket')
|
||||
|
|
Loading…
Reference in a new issue