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
tonyandrewmeyer and benhoyt authored Oct 30, 2023
1 parent f510454 commit db3a685
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 @@ -1830,7 +1830,7 @@ def run_action(self, action_name: str,
# Juju requires that the key is in the passed parameters, even if there is a default
# value in actions.yaml.
if key not in params:
raise RuntimeError(f"{key!r} property is missing and required.")
raise RuntimeError(f"{key!r} parameter is required, but missing.")
if not action_meta.additional_properties:
for key in params:
if key not in action_meta.parameters:
Expand Down

0 comments on commit db3a685

Please sign in to comment.