create a new connection after exiting context manager in test_decorator_calls

This commit is contained in:
Konstantinos Koukopoulos 2015-02-20 21:39:26 +02:00
parent 04b86fe362
commit 86cba4e82c

View File

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