Deleting from an unknown table raises error
If the table exists then we deletes are idempotent
This commit is contained in:
parent
02edc6fa00
commit
8e3d46fb05
3 changed files with 8 additions and 2 deletions
|
|
@ -199,7 +199,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