

@mock_ec2
def test_availability_zones():
    conn = boto.connect_ec2('the_key', 'the_secret')
    zones = zones.get_all_zones()
    zones.should.have.length_of(5)
    zones[0].name.should.equal('us-east-1a')
    zones[0].region_name.should.equal('us-east-1')

dataset/ETHPy150Open spulec/moto/tests/test_ec2/test_availability_zones_and_regions.py test_availability_zones/VarMisuse@25/38 `conn`->`zones`