Here we replace harness with scenario for unit testing. Doing so, I identified an issue with self-signed certificates where the CA certificate expiry was not handled properly in charm code.
Rationale
The scenario framework enforces our current approach with:
Arrange (state in)
Act (juju event)
Assert (state out)
This makes tests easier to read, to write, and to parameterise .
Description
Here we replace harness with scenario for unit testing. Doing so, I identified an issue with self-signed certificates where the CA certificate expiry was not handled properly in charm code.
Rationale
The scenario framework enforces our current approach with:
This makes tests easier to read, to write, and to parameterise .
Reference
Checklist: