create a new connection after exiting context manager in test_decorator_calls
This commit is contained in:
parent
04b86fe362
commit
86cba4e82c
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue