From: 胡玮文 Date: Thu, 24 Sep 2020 16:28:06 +0000 (+0800) Subject: Test list_objects_v2 KeyCount with Delimiter X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F359%2Fhead;p=s3-tests.git Test list_objects_v2 KeyCount with Delimiter Test for: https://github.com/ceph/ceph/pull/37396 Signed-off-by: 胡玮文 --- diff --git a/s3tests_boto3/functional/test_s3.py b/s3tests_boto3/functional/test_s3.py index 969d28fd..0aad5a4b 100644 --- a/s3tests_boto3/functional/test_s3.py +++ b/s3tests_boto3/functional/test_s3.py @@ -229,6 +229,7 @@ def test_bucket_listv2_delimiter_basic(): prefixes = _get_prefixes(response) eq(len(prefixes), 2) eq(prefixes, ['foo/', 'quux/']) + eq(response['KeyCount'], len(prefixes) + len(keys)) @attr(resource='bucket')