def METHOD_NAME(self):
    """
    Invoke connect() with missing port in config dict.
    """
    config = {"hosts": [("127.0.0.1")]}
    with open_as_connection(config) as client:
        assert client.is_connected()