S3 - Dont error when deleting unknown keys (#4036)

* #1581 - S3 - Dont error when deleting unknown keys

* Update test_s3bucket_path.py
This commit is contained in:
Bert Blommers 2021-06-25 10:26:03 +01:00 committed by GitHub
commit 0f4ab4da1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 9 deletions

View file

@ -315,8 +315,8 @@ def test_delete_keys_with_invalid():
result = bucket.delete_keys(["abc", "file3"])
result.deleted.should.have.length_of(1)
result.errors.should.have.length_of(1)
result.deleted.should.have.length_of(2)
result.errors.should.have.length_of(0)
keys = bucket.get_all_keys()
keys.should.have.length_of(3)
keys[0].name.should.equal("file1")