From 86cba4e82cbd20eb1ba378bac9f89437411d645b Mon Sep 17 00:00:00 2001 From: Konstantinos Koukopoulos Date: Fri, 20 Feb 2015 21:39:26 +0200 Subject: [PATCH] create a new connection after exiting context manager in test_decorator_calls --- tests/test_core/test_decorator_calls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_core/test_decorator_calls.py b/tests/test_core/test_decorator_calls.py index 5360061c8..bfe5d5730 100644 --- a/tests/test_core/test_decorator_calls.py +++ b/tests/test_core/test_decorator_calls.py @@ -33,6 +33,7 @@ def test_context_manager(): list(conn.get_all_instances()).should.equal([]) with assert_raises(EC2ResponseError): + conn = boto.connect_ec2('the_key', 'the_secret') conn.get_all_instances()