mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-22 09:29:43 +00:00
test get object with special key name
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
This commit is contained in:
parent
56aa87d664
commit
29caf70ccd
1 changed files with 6 additions and 0 deletions
|
@ -4707,6 +4707,12 @@ def test_bucket_create_special_key_names():
|
||||||
names = [e.name for e in list(li)]
|
names = [e.name for e in list(li)]
|
||||||
eq(names, key_names)
|
eq(names, key_names)
|
||||||
|
|
||||||
|
for name in key_names:
|
||||||
|
key = bucket.get_key(name)
|
||||||
|
eq(key.name, name)
|
||||||
|
content = key.get_contents_as_string()
|
||||||
|
eq(content, name)
|
||||||
|
|
||||||
@attr(resource='bucket')
|
@attr(resource='bucket')
|
||||||
@attr(method='get')
|
@attr(method='get')
|
||||||
@attr(operation='create and list objects with underscore as prefix, list using prefix')
|
@attr(operation='create and list objects with underscore as prefix, list using prefix')
|
||||||
|
|
Loading…
Reference in a new issue