def METHOD_NAME(proxy_minion_config):
    """
    check netmiko_proxy make_con method
    """
    class ExpectedException(Exception):
        """
        Custom exception class expected to raise as a side_effect
        """
    def raise_exception(*arg, **kwarg):
        raise ExpectedException("expected")
    proxy_minion_config["skip_connect_on_init"] = True
    netmiko_proxy.init(proxy_minion_config)
    with patch.object(netmiko_proxy, "DEFAULT_CONNECTION_TIMEOUT", 0), patch.object(
        netmiko_proxy, "ConnectHandler", raise_exception, create=True
    ):
        with pytest.raises(ExpectedException):
            netmiko_proxy.make_con(0)