def METHOD_NAME(self, tmpdir, monkeypatch):
    for utility in ["postgres", "pg_basebackup", "pg_receivewal"]:
        dest_path = tmpdir / utility
        # Convert it to a proper Path
        Path(dest_path).touch()
    monkeypatch.setenv("PATH", str(tmpdir))
    # Add a dummy bin directory so that we don't fallback on versions
    # found in "well known locations"
    config = self.minimal_config_template("/dummy/bin/directory/")
    site_config = config["backup_sites"][self.test_site]
    with patch("pghoard.config.get_command_version", make_mock_get_command_version("13.2")):
        pghoard.config.fill_config_command_paths(config, self.test_site, True)
    assert site_config["pg_receivexlog_path"] == tmpdir / "pg_receivewal"
    assert site_config["pg_receivexlog_version"] == 130002
    assert site_config["pg_basebackup_path"] == tmpdir / "pg_basebackup"
    assert site_config["pg_basebackup_version"] == 130002