create a new connection after exiting context manager in test_decorator_calls
This commit is contained in:
parent
04b86fe362
commit
86cba4e82c
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user