mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-28 19:31:39 +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
54103207e4
commit
30db28e775
1 changed files with 1 additions and 0 deletions
|
@ -229,6 +229,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