forked from TrueCloudLab/s3-tests
Merge pull request #73 from andrewgaul/ends-with-delimiter
Test listing a blob which ends with delimiter Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
commit
86c311b0d1
1 changed files with 8 additions and 0 deletions
|
@ -235,6 +235,14 @@ def test_bucket_list_delimiter_prefix():
|
||||||
|
|
||||||
marker = validate_bucket_list(bucket, prefix, delim, '', 2, False, ['boo/bar'], ['boo/baz/'], None)
|
marker = validate_bucket_list(bucket, prefix, delim, '', 2, False, ['boo/bar'], ['boo/baz/'], None)
|
||||||
|
|
||||||
|
@attr(resource='bucket')
|
||||||
|
@attr(method='get')
|
||||||
|
@attr(operation='list')
|
||||||
|
@attr(assertion='prefix and delimiter handling when object ends with delimiter')
|
||||||
|
def test_bucket_list_delimiter_prefix_ends_with_delimiter():
|
||||||
|
bucket = _create_keys(keys=['asdf/'])
|
||||||
|
validate_bucket_list(bucket, 'asdf/', '/', '', 1000, False, ['asdf/'], [], None)
|
||||||
|
|
||||||
@attr(resource='bucket')
|
@attr(resource='bucket')
|
||||||
@attr(method='get')
|
@attr(method='get')
|
||||||
@attr(operation='list')
|
@attr(operation='list')
|
||||||
|
|
Loading…
Add table
Reference in a new issue