Skip to content

Commit

Permalink
Update ops/testing.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Hoyt <[email protected]>
  • Loading branch information
weiiwang01 and benhoyt committed Aug 23, 2023
1 parent f981383 commit 7116791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1588,7 +1588,7 @@ def handle_exec(self,
*,
handler: Optional[ExecHandler] = None,
result: Optional[Union[int, str, bytes, ExecResult]] = None):
"""Register a handler to simulate the pebble command execution.
"""Register a handler to simulate the Pebble command execution.
This allows a test harness to simulate the behavior of running commands in a container.
When :meth:`ops.Container.exec` is triggered, the registered handler is used to
Expand Down

0 comments on commit 7116791

Please sign in to comment.