From 04d22082c4ef936527059f0fc19b59aa46647ddf Mon Sep 17 00:00:00 2001 From: Joseph Lawson Date: Thu, 23 Oct 2014 22:32:20 -0400 Subject: [PATCH] remove some test details for 2.6 --- .../test_cloudformation_stack_crud.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tests/test_cloudformation/test_cloudformation_stack_crud.py b/tests/test_cloudformation/test_cloudformation_stack_crud.py index 8cdbf96e6..477272a33 100644 --- a/tests/test_cloudformation/test_cloudformation_stack_crud.py +++ b/tests/test_cloudformation/test_cloudformation_stack_crud.py @@ -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():