mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-24 19:30:38 +00:00
Merge pull request #123 from ceph/get_special_key
test get object with special key name Reviewed-by: Andrew Gaul <andrew@gaul.org> Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
commit
4e530d396f
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