

@mock_ec2
def test_eip_describe_none():
    'Error when search for bogus IP'
    conn = boto.connect_ec2('the_key', 'the_secret')
    with assert_raises(EC2ResponseError) as cm:
        conn.get_all_addresses(addresses=['256.256.256.256'])
    conn.exception.code.should.equal('InvalidAddress.NotFound')
    cm.exception.status.should.equal(400)
    cm.exception.request_id.should_not.be.none

dataset/ETHPy150Open spulec/moto/tests/test_ec2/test_elastic_ip_addresses.py test_eip_describe_none/VarMisuse@47/89 `cm`->`conn`