Merge pull request #925 from JackDanger/idempotent-dynamodb2-deletes
Idempotent Dynamodb2 deletes
This commit is contained in:
commit
15b811901b
4 changed files with 15 additions and 12 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue