def METHOD_NAME(caplog):
    """
    Ensure an empty dict is returned and an error is logged in case
    the config does not contain path=<...>
    """
    with caplog.at_level(logging.ERROR):
        ext_pillar = vault.ext_pillar("testminion", {}, "secret/path")
        assert ext_pillar == {}
        assert "is not a valid Vault ext_pillar config" in caplog.text