Exemplo n.º 1
0
def test_get_code_maximum_type_error(monitor: Monitor):
    code = vcp.VCPCode("image_factory_default")
    with pytest.raises(TypeError):
        monitor._get_code_maximum(code)
Exemplo n.º 2
0
def test_set_vcp_feature_type_error(monitor: Monitor):
    code = vcp.VCPCode("active_control")
    with pytest.raises(TypeError):
        monitor._set_vcp_feature(code, 1)
Exemplo n.º 3
0
def test_get_vcp_feature_type_error(monitor: Monitor):
    code = vcp.VCPCode("image_factory_default")
    with pytest.raises(TypeError):
        monitor._get_vcp_feature(code)