def METHOD_NAME(invalid_subnets_list):
    invalid_subnets = SCAN_TARGET_CONFIGURATION.copy()
    invalid_subnets["subnets"] = invalid_subnets_list
    with pytest.raises(ValueError):
        ScanTargetConfiguration(**invalid_subnets)