remove some test details for 2.6
This commit is contained in:
parent
3015fd0216
commit
04d22082c4
@ -134,25 +134,18 @@ def test_delete_stack_by_id():
|
|||||||
conn.list_stacks().should.have.length_of(1)
|
conn.list_stacks().should.have.length_of(1)
|
||||||
conn.delete_stack(stack_id)
|
conn.delete_stack(stack_id)
|
||||||
conn.list_stacks().should.have.length_of(0)
|
conn.list_stacks().should.have.length_of(0)
|
||||||
with assert_raises(ValidationError) as ve:
|
with assert_raises(ValidationError):
|
||||||
conn.describe_stacks("test_stack")
|
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)
|
conn.describe_stacks(stack_id).should.have.length_of(1)
|
||||||
|
|
||||||
|
|
||||||
@mock_cloudformation
|
@mock_cloudformation
|
||||||
def test_bad_describe_stack():
|
def test_bad_describe_stack():
|
||||||
conn = boto.connect_cloudformation()
|
conn = boto.connect_cloudformation()
|
||||||
with assert_raises(ValidationError) as ve:
|
with assert_raises(ValidationError):
|
||||||
conn.describe_stacks("bad_stack")
|
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
|
# @mock_cloudformation
|
||||||
# def test_update_stack():
|
# def test_update_stack():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user