Cleanup some tests to work across regions. cc #232

This commit is contained in:
Steve Pulec 2014-11-15 13:50:58 -05:00
commit 2a61ef6f91
4 changed files with 34 additions and 28 deletions

View file

@ -190,7 +190,7 @@ def test_modify_attribute_blockDeviceMapping():
[0] https://github.com/spulec/moto/issues/160
"""
conn = boto.connect_ec2('the_key', 'the_secret')
conn = boto.ec2.connect_to_region("us-east-1")
reservation = conn.run_instances('ami-1234abcd')