@mock_ec2
def test_dhcp_options_associate():
    conn = boto.connect_vpc('the_key', 'the_secret')
    dhcp_options = conn.create_dhcp_options(SAMPLE_DOMAIN_NAME, SAMPLE_NAME_SERVERS)
    vpc = conn.create_vpc("10.0.0.0/16")

    rval = conn.associate_dhcp_options(dhcp_options.id, vpc.id)
    rval.should.be.equal(True)
associate dhcp option
dataset/ETHPy150Open spulec/moto/tests/test_ec2/test_dhcp_options.py/test_dhcp_options_associate