Merge pull request #359 from huww98/master

Test list_objects_v2 KeyCount with Delimiter
This commit is contained in:
Matt Benjamin 2020-10-02 12:41:19 -04:00 committed by GitHub
commit 4e3fd5ff41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')