Closed dashmage closed 4 months ago
Thanks to fix the bug and add functional test case. Is it even better to modify the unit test if we want to validate each options? https://github.com/canonical/hardware-observer-operator/blob/master/tests/unit/test_charm.py#L217
The test you linked just checks whether any new config (it uses exporter port and log level) updates the config stored state dict (_stored.config
) when added for the first time. I don't think adding collect-timeout
specifically would offer any significant value.
Fixes #200