def test_delete_non_existing_keys(self):
    bucket_name = ('test-%s' % short_uid())
    self.s3_client.create_bucket(Bucket=bucket_name)
    object_key = 'test-key-nonexistent'
    self.s3_client.put_object(Bucket=bucket_name, Key=object_key, Body='something')
    response = self.s3_client.delete_objects(Bucket=bucket_name, Delete={'Objects': [{'Key': object_key}, {'Key': 'dummy1'}, {'Key': 'dummy2'}]})
    self.assertEqual(len(response['Deleted']), 3)
    self.assertNotIn('Errors', response)
    self._delete_bucket(bucket_name)
def test_delete_non_existing_keys(self):
    bucket_name = ('test-%s' % short_uid())
    self.s3_client.create_bucket(Bucket=bucket_name)
    object_key = 'test-key-nonexistent'
    self.s3_client.put_object(Bucket=bucket_name, Key=object_key, Body='something')
    response = self.s3_client.delete_objects(Bucket=bucket_name, Delete={'Objects': [{'Key': object_key}, {'Key': 'dummy1'}, {'Key': 'dummy2'}]})
    self.assertEqual(len(response['Deleted']), 3)
    self.assertNotIn('Errors', response)
    self._delete_bucket(bucket_name)