Skip to content

Commit

Permalink
Shorten the warning message, per John's recommendation.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer committed Dec 20, 2024
1 parent 0543af9 commit d0929fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ops/_private/harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,7 @@ def __init__(
)

warnings.warn(
'Harness is deprecated; we recommend state transition testing '
"(previously known as 'Scenario') for charm unit tests instead. See more: "
'Harness is deprecated. See more: "
'https://ops.readthedocs.io/en/latest/howto/write-unit-tests-for-a-charm.html',
PendingDeprecationWarning,
stacklevel=2,
Expand Down

0 comments on commit d0929fc

Please sign in to comment.