Skip to content

Commit

Permalink
create a new connection after exiting context manager in test_decorat…
Browse files Browse the repository at this point in the history
…or_calls
  • Loading branch information
kouk committed Feb 20, 2015
1 parent 04b86fe commit 86cba4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_core/test_decorator_calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down

0 comments on commit 86cba4e

Please sign in to comment.