remove some test details for 2.6

This commit is contained in:
Joseph Lawson 2014-10-23 22:32:20 -04:00
parent 3015fd0216
commit 04d22082c4

View File

@ -134,25 +134,18 @@ def test_delete_stack_by_id():
conn.list_stacks().should.have.length_of(1)
conn.delete_stack(stack_id)
conn.list_stacks().should.have.length_of(0)
with assert_raises(ValidationError) as ve:
with assert_raises(ValidationError):
conn.describe_stacks("test_stack")
ve.exception.code.should.equal('ValidationError')
ve.exception.status.should.equal(400)
ve.exception.message.should.contain('test_stack')
conn.describe_stacks(stack_id).should.have.length_of(1)
@mock_cloudformation
def test_bad_describe_stack():
conn = boto.connect_cloudformation()
with assert_raises(ValidationError) as ve:
with assert_raises(ValidationError):
conn.describe_stacks("bad_stack")
ve.exception.code.should.equal('ValidationError')
ve.exception.status.should.equal(400)
ve.exception.message.should.contain('bad_stack')
# @mock_cloudformation
# def test_update_stack():