mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-22 09:29:43 +00:00
Test list_objects_v2 KeyCount with Delimiter
Test for: https://github.com/ceph/ceph/pull/37396 Signed-off-by: 胡玮文 <huww98@outlook.com>
This commit is contained in:
parent
5e0cea1c07
commit
ae981dd3a8
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ def test_bucket_listv2_delimiter_basic():
|
||||||
prefixes = _get_prefixes(response)
|
prefixes = _get_prefixes(response)
|
||||||
eq(len(prefixes), 2)
|
eq(len(prefixes), 2)
|
||||||
eq(prefixes, ['foo/', 'quux/'])
|
eq(prefixes, ['foo/', 'quux/'])
|
||||||
|
eq(response['KeyCount'], len(prefixes) + len(keys))
|
||||||
|
|
||||||
|
|
||||||
@attr(resource='bucket')
|
@attr(resource='bucket')
|
||||||
|
|
Loading…
Reference in a new issue