Deleting from an unknown table raises error

If the table exists then we deletes are idempotent
This commit is contained in:
Jack Danger Canty 2017-05-08 17:25:59 -10:00
commit 8e3d46fb05
3 changed files with 8 additions and 2 deletions

View file

@ -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")