@mock_ec2
def test_create_dhcp_options_invalid_options():
    conn = boto.connect_vpc('the_key', 'the_secret')
    servers = ["f", "f", "f", "f", "f"]

    with assert_raises(EC2ResponseError) as cm:
        conn.create_dhcp_options(ntp_servers=servers)
    cm.exception.code.should.equal('InvalidParameterValue')
    cm.exception.status.should.equal(400)
    cm.exception.request_id.should_not.be.none

    with assert_raises(EC2ResponseError) as cm:
        conn.create_dhcp_options(netbios_node_type="0")
    cm.exception.code.should.equal('InvalidParameterValue')
    cm.exception.status.should.equal(400)
    cm.exception.request_id.should_not.be.none
Test activating the current product key
dataset/ETHPy150Open spulec/moto/tests/test_ec2/test_dhcp_options.py/test_create_dhcp_options_invalid_options--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/win_license_test.py/LicenseTestCase.test_activate