Add support for testing pebble services interaction #1427
Labels
feature
New feature or request
needs design
needs more thought or spec
testing
Related to ops.testing
There is currently no way in ops-scenario to test a charm interaction with a pebble service, like restarting it for example:
self._container.restart(self._service_name)
.The only way to accomplish this is to mock
ops.model.Container.restart
.It would be nice to have a better way to do this, maybe as an automatic mock in the output state?
Moved from canonical/ops-scenario#34
The text was updated successfully, but these errors were encountered: