I'm in the process of writing some characterisation tests for germinal, prior to adding functionality. To do this, I'd prefer to use a let form and temporarily shadow configuration than setq it.
However, this doesn't work the way I expected it to, for some of the configuration. *germinal-host* can be shadowed, but the certificate configuration *germinal-cert* can't:
CL-USER> (let ((germinal:*germinal-cert* "/foo/bar"))
(print germinal:*germinal-cert*)
(germinal:start :background nil))
"/foo/bar" ;; Germinal listening on 0.0.0.0 port 1965
gemini-handler error: SSL initialization error: Can't load certificate /etc/germinal/cert.pem
SSL error queue is empty.
Am I missing the correct way of configuring the germinal client during tests? I could just globally setq the values I want, but I'd like the config to be overridden only during tests, hence use of let.