Merge pull request #925 from JackDanger/idempotent-dynamodb2-deletes

Idempotent Dynamodb2 deletes
This commit is contained in:
Steve Pulec 2017-05-10 22:07:12 -04:00 committed by GitHub
commit 15b811901b
4 changed files with 15 additions and 12 deletions

View file

@ -200,7 +200,8 @@ def test_delete_item():
table.count().should.equal(0)
item.delete().should.equal(False)
# Deletes are idempotent and 'False' here would imply an error condition
item.delete().should.equal(True)
@requires_boto_gte("2.9")